1
0
forked from VimPlug/jedi

Fix: stdlib issues with the latest CompiledObject changes.

This commit is contained in:
Dave Halter
2015-12-10 00:02:06 +01:00
parent c9a5caa96e
commit 86037222b4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -505,7 +505,7 @@ def get_special_object(evaluator, identifier):
def compiled_objects_cache(func):
def wrapper(evaluator, obj, parent=None, module=None):
# Do a very cheap form of caching here.
if parent is None and obj != _builtins:
if parent is None and not inspect.ismodule(obj):
parent = create(evaluator, _builtins)
key = id(obj), id(parent), id(module)