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 |