1
0
forked from VimPlug/jedi

CompiledObjects should execute everything when reading the return information from docstring (because it's always types, not values)

This commit is contained in:
Dave Halter
2014-07-31 17:16:24 +02:00
parent 332a16a27e
commit 59b8c6b015

View File

@@ -171,13 +171,11 @@ class CompiledObject(Base):
except AttributeError:
continue
else:
if isinstance(bltn_obj, CompiledObject):
if isinstance(bltn_obj, CompiledObject) and bltn_obj.obj is None:
# We want everything except None.
if bltn_obj.obj is not None:
yield bltn_obj
else:
for result in evaluator.execute(bltn_obj, params):
yield result
continue
for result in evaluator.execute(bltn_obj, params):
yield result
@property
@underscore_memoization