Fix a recursion issue and add a test.
This commit is contained in:
1 parent
a6dd7bf822
commit
0a4e858d88
5 files changed
+15
-5
No files matched your search
@@ -15,7 +15,6 @@ from jedi.evaluate import iterable
|
||||
def recursion_decorator(func):
|
||||
def run(evaluator, stmt, *args, **kwargs):
|
||||
rec_detect = evaluator.recursion_detector
|
||||
# print stmt, len(self.node_statements())
|
||||
if rec_detect.push_stmt(stmt):
|
||||
return set()
|
||||
else:
|
||||
|
||||
Reference in new issue
Block a user