1
0
forked from VimPlug/jedi

Add a tuple[...] test for the future, see #2040

This commit is contained in:
Dave Halter
2026-04-29 17:10:02 +02:00
parent fe0369436e
commit c30732eb04
2 changed files with 15 additions and 1 deletions
+14
View File
@@ -203,3 +203,17 @@ class NotCalledClass:
self.w: float
#? float()
self.w
def tuple_func() -> tuple[int, str]:
return 1, ""
x = tuple_func()
a, b = x
#? int()
a
#? str()
b
#? int()
x[0]
#? str()
x[1]