Skip to content

Commit

Permalink
udpate _getmembers args
Browse files Browse the repository at this point in the history
  • Loading branch information
hongweipeng authored and hongweipeng committed Jul 15, 2021
1 parent 8ba3a08 commit a708ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def isabstract(object):
return True
return False

def _getmembers(object, predicate=None, getter=None):
def _getmembers(object, predicate, getter):
"""Return all members of an object as (name, value) pairs sorted by name.
Optionally, only return members that satisfy a given predicate."""
if isclass(object):
Expand Down

0 comments on commit a708ace

Please sign in to comment.