Statements (28)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:Python_Enhancement_Proposal
|
| gptkbp:author |
Matthew Rahtz
Pradeep Kumar Srinivasan |
| gptkbp:category |
Typing
|
| gptkbp:created |
2021-05-11
|
| gptkbp:discusses |
Python Typing SIG
[email protected] |
| gptkbp:implementedIn |
gptkb:Python_3.11
|
| gptkbp:JEP_number |
646
|
| gptkbp:motive |
Enable type hinting for functions/classes that accept or return an arbitrary number of types, such as for numpy-like array shapes.
|
| gptkbp:PEP-URL |
https://peps.python.org/pep-0646/
|
| gptkbp:plotSummary |
Introduces support for variadic generics in Python's type system, allowing type parameters to be specified as an arbitrary number of types.
|
| gptkbp:proposedBy |
TypeVarTuple
Unpack |
| gptkbp:Python-Version |
3.11
|
| gptkbp:replacedBy |
None
|
| gptkbp:seeAlso |
gptkb:PEP_484
gptkb:PEP_585 |
| gptkbp:status |
Final
|
| gptkbp:superseded-by |
None
|
| gptkbp:title |
Variadic Generics
|
| gptkbp:topic |
gptkb:type_system
generics type hinting |
| gptkbp:type |
Standards Track
|
| gptkbp:bfsParent |
gptkb:Python_3.11
|
| gptkbp:bfsLayer |
7
|
| https://www.w3.org/2000/01/rdf-schema#label |
PEP 646: Variadic Generics
|