udpate _getmembers args
This commit is contained in:
parent
ea295d787e
commit
6b78c0a20a
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue