Skip to content

Commit a708ace

Browse files
hongweipenghongweipeng
authored and
hongweipeng
committed
udpate _getmembers args
1 parent 8ba3a08 commit a708ace

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/inspect.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ def isabstract(object):
441441
return True
442442
return False
443443

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

0 commit comments

Comments
 (0)