--- a/eric6/Utilities/ClassBrowsers/pyclbr.py Fri Feb 07 18:49:32 2020 +0100 +++ b/eric6/Utilities/ClassBrowsers/pyclbr.py Sat Feb 08 16:47:20 2020 +0100 @@ -14,7 +14,6 @@ import sys -import imp import re import Utilities @@ -370,14 +369,6 @@ fullpath = path[:] + sys.path[:] f, file, (suff, mode, type) = ClassBrowsers.find_module( module, fullpath, isPyFile) - if module.endswith(".py") and type == imp.PKG_DIRECTORY: - return dictionary - if type == imp.PKG_DIRECTORY: - dictionary['__path__'] = [file] - _modules[module] = dictionary - path = [file] + path - f, file, (suff, mode, type) = ClassBrowsers.find_module( - '__init__', [file]) if f: f.close() if type not in SUPPORTED_TYPES: