mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-28 00:43:17 +08:00
Fix a recursion error issue
This commit is contained in:
1 parent
11eb4f8fde
commit
2e1284f044
2 files changed
+17
-1
No files matched your search
@@ -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