eric6/Utilities/ClassBrowsers/__init__.py

branch
without_py2_and_pyqt4
changeset 7192
a22eee00b052
parent 6942
2602857055c5
child 7229
53054eb5b15a
equal deleted inserted replaced
7191:960850ec284c 7192:a22eee00b052
21 21
22 from __future__ import unicode_literals 22 from __future__ import unicode_literals
23 23
24 import os 24 import os
25 import imp 25 import imp
26 import sys
27 26
28 import Preferences 27 import Preferences
29 28
30 PY_SOURCE = imp.PY_SOURCE 29 PY_SOURCE = imp.PY_SOURCE
31 PTL_SOURCE = 128 30 PTL_SOURCE = 128
76 protoclbr._modules.clear() 75 protoclbr._modules.clear()
77 elif ext in __extensions["Ruby"]: 76 elif ext in __extensions["Ruby"]:
78 from . import rbclbr 77 from . import rbclbr
79 dictionary = rbclbr.readmodule_ex(module, path) 78 dictionary = rbclbr.readmodule_ex(module, path)
80 rbclbr._modules.clear() 79 rbclbr._modules.clear()
81 elif ext in __extensions["JavaScript"] and sys.version_info[0] == 3: 80 elif ext in __extensions["JavaScript"]:
82 from . import jsclbr 81 from . import jsclbr
83 dictionary = jsclbr.readmodule_ex(module, path) 82 dictionary = jsclbr.readmodule_ex(module, path)
84 jsclbr._modules.clear() 83 jsclbr._modules.clear()
85 elif ext in Preferences.getPython("PythonExtensions") or \ 84 elif ext in Preferences.getPython("PythonExtensions") or \
86 ext in Preferences.getPython("Python3Extensions") or \ 85 ext in Preferences.getPython("Python3Extensions") or \

eric ide

mercurial