mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
gh-91162: Support splitting of unpacked arbitrary-length tuple over TypeVar and TypeVarTuple parameters (alt) (GH-93412)
For example: A[T, *Ts][*tuple[int, ...]] -> A[int, *tuple[int, ...]] A[*Ts, T][*tuple[int, ...]] -> A[*tuple[int, ...], int]
This commit is contained in:
parent
23c9febdc6
commit
3473817106
6 changed files with 108 additions and 129 deletions
|
@ -824,6 +824,7 @@ extern "C" {
|
|||
INIT_ID(__truediv__), \
|
||||
INIT_ID(__trunc__), \
|
||||
INIT_ID(__typing_is_unpacked_typevartuple__), \
|
||||
INIT_ID(__typing_prepare_subst__), \
|
||||
INIT_ID(__typing_subst__), \
|
||||
INIT_ID(__typing_unpacked_tuple_args__), \
|
||||
INIT_ID(__warningregistry__), \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue