Utilities/ClassBrowsers/__init__.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3057
10516539f238
parent 3039
8dd0165d805d
child 3145
a9de05d4a22f
equal deleted inserted replaced
3058:0a02c433f52d 3060:5883ce99ee12
65 elif ext in __extensions["JavaScript"]: 65 elif ext in __extensions["JavaScript"]:
66 from . import jsclbr 66 from . import jsclbr
67 dict = jsclbr.readmodule_ex(module, path) 67 dict = jsclbr.readmodule_ex(module, path)
68 jsclbr._modules.clear() 68 jsclbr._modules.clear()
69 elif ext in Preferences.getPython("PythonExtensions") or \ 69 elif ext in Preferences.getPython("PythonExtensions") or \
70 ext in Preferences.getPython("Python3Extensions") or \ 70 ext in Preferences.getPython("Python3Extensions") or \
71 isPyFile: 71 isPyFile:
72 from . import pyclbr 72 from . import pyclbr
73 dict = pyclbr.readmodule_ex(module, path, isPyFile=isPyFile) 73 dict = pyclbr.readmodule_ex(module, path, isPyFile=isPyFile)
74 pyclbr._modules.clear() 74 pyclbr._modules.clear()
75 else: 75 else:
76 # try Python if it is without extension 76 # try Python if it is without extension

eric ide

mercurial