CompiledObjects should execute everything when reading the return information from docstring (because it's always types, not values)
This commit is contained in:
1 parent
332a16a27e
commit
59b8c6b015
1 file changed
+2
-4
@@ -171,11 +171,9 @@ 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:
|
||||
continue
|
||||
for result in evaluator.execute(bltn_obj, params):
|
||||
yield result
|
||||
|
||||
|
||||
Reference in new issue
Block a user