1
0
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:
Dave Halter
2014-01-21 23:33:36 +01:00
parent a29026c212
commit 9e063b1248
3 changed files with 39 additions and 9 deletions
+1 -1
View File
@@ -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