forked from VimPlug/jedi
started writing a new interpreter module that is heavily simplified and fits the current Jedi architecture way better.
This commit is contained in:
@@ -290,7 +290,7 @@ def create(obj, parent=builtin, module=None):
|
||||
A very weird interface class to this module. The more options provided the
|
||||
more acurate loading compiled objects is.
|
||||
"""
|
||||
if not inspect.ismodule(parent):
|
||||
if not inspect.ismodule(obj):
|
||||
faked = fake.get_faked(module and module.obj, obj)
|
||||
if faked is not None:
|
||||
faked.parent = parent
|
||||
|
||||
Reference in New Issue
Block a user