py__call__ is now always available

This commit is contained in:
Dave Halter committed 2019-06-06 10:04:48 +02:00
1 parent 659c043584
commit 07f9f241c6
5 files changed
+26 -24

No files matched your search

+4
View File
@@ -185,6 +185,10 @@ class Context(HelperContextMixin, BaseContext):
return clean_scope_docstring(self.tree_node)
return None
def py__call__(self, arguments):
debug.warning("no execution possible %s", self)
return NO_CONTEXTS
def py__stop_iteration_returns(self):
debug.warning("Not possible to return the stop iterations of %s", self)
return NO_CONTEXTS