mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-20 20:41:13 +08:00
execution_allowed should be called with nodes
This commit is contained in:
@@ -46,7 +46,7 @@ class DynamicExecutedParamName(ParamNameWrapper):
|
|||||||
|
|
||||||
def infer(self):
|
def infer(self):
|
||||||
inf = self.parent_context.inference_state
|
inf = self.parent_context.inference_state
|
||||||
with recursion.execution_allowed(inf, self) as allowed:
|
with recursion.execution_allowed(inf, self.tree_name) as allowed:
|
||||||
# We need to catch recursions that may occur, because an
|
# We need to catch recursions that may occur, because an
|
||||||
# anonymous functions can create an anonymous parameter that is
|
# anonymous functions can create an anonymous parameter that is
|
||||||
# more or less self referencing.
|
# more or less self referencing.
|
||||||
|
|||||||
Reference in New Issue
Block a user