mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
Fix a recursion error issue
This commit is contained in:
@@ -103,3 +103,15 @@ while True:
|
||||
bar = bar # type: bar
|
||||
#? int()
|
||||
bar
|
||||
|
||||
|
||||
class Comprehension:
|
||||
def __init__(self, foo):
|
||||
self.foo = foo
|
||||
|
||||
def update(self):
|
||||
self.foo = (self.foo,)
|
||||
|
||||
|
||||
#? int() tuple()
|
||||
Comprehension(1).foo[0]
|
||||
|
||||
Reference in New Issue
Block a user