udpate _getmembers args

This commit is contained in:
HongWeipeng 2020-09-07 18:52:16 +08:00 committed by hongweipeng
parent ea295d787e
commit 6b78c0a20a
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,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):