src/eric7/Utilities/ClassBrowsers/pyclbr.py

branch
eric7
changeset 10692
9becf9ca115c
parent 10677
6ee2e475490c
child 10704
27d21e5163b8
equal deleted inserted replaced
10691:d1a603a70f83 10692:9becf9ca115c
427 # search the path for the module 427 # search the path for the module
428 path = [] if path is None else path[:] 428 path = [] if path is None else path[:]
429 f = None 429 f = None
430 if f is None: 430 if f is None:
431 fullpath = path[:] + sys.path[:] 431 fullpath = path[:] + sys.path[:]
432 f, file, (suff, mode, type) = ClassBrowsers.find_module( 432 f, file, (_suff, _mode, type) = ClassBrowsers.find_module(
433 module, fullpath, isTypeFile 433 module, fullpath, isTypeFile
434 ) 434 )
435 if f: 435 if f:
436 f.close() 436 f.close()
437 if type not in SUPPORTED_TYPES: 437 if type not in SUPPORTED_TYPES:

eric ide

mercurial