mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-29 22:42:09 +08:00
Fix a recursion issue and add a test.
This commit is contained in:
@@ -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