File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -264,13 +264,13 @@ def can_import(f):
264
264
return False
265
265
return True
266
266
267
- functions = {getattr (root ,name ):name for name ,f in root .__dict__ .items () if
268
- (not name .startswith ('_' ) and # private functions
269
- can_import (f ) and # unresolved lazy imports
270
- not hasattr (f ,'issue_number' ) and # deprecated functions
271
- not inspect .isclass (f ) and # classes
272
- callable (getattr (f ,'__func__' ,f )) and # e.g. GenericGraph.graphics_array_defaults
273
- local_filter (f ,name )) # possibly filter imported functions
267
+ functions = {getattr (root , name ): name for name , f in root .__dict__ .items () if
268
+ (not name .startswith ('_' ) and # private functions
269
+ can_import (f ) and # unresolved lazy imports
270
+ not hasattr (f , 'issue_number' ) and # deprecated functions
271
+ not inspect .isclass (f ) and # classes
272
+ callable (getattr (f , '__func__' , f )) and # e.g. GenericGraph.graphics_array_defaults
273
+ local_filter (f , name )) # possibly filter imported functions
274
274
}
275
275
276
276
return list (functions .keys ()), functions
You can’t perform that action at this time.
0 commit comments