Skip to content

Commit a01c536

Browse files
authored
Change int to Any in unpacking unbounded tuple types (#1855)
1 parent 736f9ec commit a01c536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/spec/generics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1329,7 +1329,7 @@ unnecessary ``TypeVarTuple``:
13291329
process_batch_channels(z) # Error: Expected Channels.
13301330

13311331

1332-
We can also pass a ``*tuple[int, ...]`` wherever a ``*Ts`` is
1332+
We can also pass a ``*tuple[Any, ...]`` wherever a ``*Ts`` is
13331333
expected. This is useful when we have particularly dynamic code and
13341334
cannot state the precise number of dimensions or the precise types for
13351335
each of the dimensions. In those cases, we can smoothly fall back to

0 commit comments

Comments
 (0)