forked from VimPlug/jedi
Add a comment and link to issue #483
This commit is contained in:
@@ -325,9 +325,10 @@ def load_module(path, name):
|
|||||||
try:
|
try:
|
||||||
__import__(dotted_path)
|
__import__(dotted_path)
|
||||||
except RuntimeError:
|
except RuntimeError:
|
||||||
# RuntimeError: the PyQt4.QtCore and PyQt5.QtCore modules both wrap
|
|
||||||
# the QObject class
|
|
||||||
if 'PySide' in dotted_path or 'PyQt' in dotted_path:
|
if 'PySide' in dotted_path or 'PyQt' in dotted_path:
|
||||||
|
# RuntimeError: the PyQt4.QtCore and PyQt5.QtCore modules both wrap
|
||||||
|
# the QObject class.
|
||||||
|
# See https://github.com/davidhalter/jedi/pull/483
|
||||||
return None
|
return None
|
||||||
# Just access the cache after import, because of #59 as well as the very
|
# Just access the cache after import, because of #59 as well as the very
|
||||||
# complicated import structure of Python.
|
# complicated import structure of Python.
|
||||||
|
|||||||
Reference in New Issue
Block a user