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:
|
||||
__import__(dotted_path)
|
||||
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:
|
||||
# RuntimeError: the PyQt4.QtCore and PyQt5.QtCore modules both wrap
|
||||
# the QObject class.
|
||||
# See https://github.com/davidhalter/jedi/pull/483
|
||||
return None
|
||||
# Just access the cache after import, because of #59 as well as the very
|
||||
# complicated import structure of Python.
|
||||
|
||||
Reference in New Issue
Block a user