@@ -436,10 +436,10 @@ def _make_pretty_string(entry, offset):
436436 """
437437
438438 # A star implies that the method is a static method
439- return_val = f' { entry [" returns" ].__str__ ():<{offset }} '
439+ return_val = f" { entry [' returns' ].__str__ ():<{offset }} "
440440 # Handle whether to print static/instance modifiers
441- obj_name = f' { entry [" name" ] } '
442- modifier = f' { "*" :>4} ' if entry ["static" ] else f' { "" :>4} '
441+ obj_name = f" { entry [' name' ] } "
442+ modifier = f" { '*' :>4} " if entry ["static" ] else f" { '' :>4} "
443443
444444 # Handle methods with no arguments
445445 if not entry ["arguments" ]:
@@ -455,7 +455,7 @@ def fields(data) -> str:
455455 Writes data to a printed field names with the field value.
456456 :param data: The object or class to inspect.
457457 """
458- table = find_java_fields (data )
458+ # table = find_java_fields(data)
459459
460460 all_fields = ""
461461 ################
@@ -482,7 +482,7 @@ def methods(data) -> str:
482482 """
483483 table = find_java_methods (data )
484484
485- offset = max (list (map (lambda l : len (l ["returns" ]), table )))
485+ offset = max (list (map (lambda entry : len (entry ["returns" ]), table )))
486486 all_methods = ""
487487 for entry in table :
488488 entry ["returns" ] = _map_syntax (entry ["returns" ])
@@ -491,7 +491,7 @@ def methods(data) -> str:
491491 all_methods += entry_string
492492
493493 # 4 added to align the asterisk with output.
494- print (f' { "" :<{offset + 4 }} * indicates a static method' )
494+ print (f" { '' :<{offset + 4 }} * indicates a static method" )
495495 print (all_methods )
496496
497497
0 commit comments