63 elif ext in __extensions["JavaScript"]: |
63 elif ext in __extensions["JavaScript"]: |
64 from . import jsclbr |
64 from . import jsclbr |
65 dict = jsclbr.readmodule_ex(module, path) |
65 dict = jsclbr.readmodule_ex(module, path) |
66 jsclbr._modules.clear() |
66 jsclbr._modules.clear() |
67 elif ext in Preferences.getPython("PythonExtensions") or \ |
67 elif ext in Preferences.getPython("PythonExtensions") or \ |
68 ext in Preferences.getPython("Python3Extensions") or \ |
68 ext in Preferences.getPython("Python3Extensions") or \ |
69 isPyFile: |
69 isPyFile: |
70 from . import pyclbr |
70 from . import pyclbr |
71 dict = pyclbr.readmodule_ex(module, path, isPyFile=isPyFile) |
71 dict = pyclbr.readmodule_ex(module, path, isPyFile=isPyFile) |
72 pyclbr._modules.clear() |
72 pyclbr._modules.clear() |
73 else: |
73 else: |
74 # try Python if it is without extension |
74 # try Python if it is without extension |