This commit is contained in:
Christian Clauss 2023-01-04 13:53:27 +01:00 committed by GitHub
parent fb563dbe24
commit 7be1d77360
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -262,7 +262,7 @@ def func1(a: int):
var2 = (a, a)
# If you want the type to be tuple[int, ...]
# (i.e. a homogenous tuple of indeterminate length),
# (i.e. a homogeneous tuple of indeterminate length),
# use a type annotation.
var3: tuple[int, ...] = (a, a)
```