mirror of
https://github.com/python/cpython.git
synced 2025-08-05 01:18:26 +00:00

Specifically, prepare for starring of tuples via a new genericalias iter type. GenericAlias also partially supports the iterator protocol after this change. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
1 line
72 B
ReStructuredText
1 line
72 B
ReStructuredText
Allow unpacking types.GenericAlias objects, e.g. ``*tuple[int, str]``.
|