Statements (17)
Predicate | Object |
---|---|
gptkbp:instanceOf |
Python Enhancement Proposal
|
gptkbp:author |
Brandt Bucher
|
gptkbp:created |
2020-04-20
|
gptkbp:discusses |
[email protected]
|
https://www.w3.org/2000/01/rdf-schema#label |
PEP 604
|
gptkbp:implementedIn |
CPython 3.10
|
gptkbp:plotSummary |
PEP 604 proposes allowing the use of the | operator to denote union types in Python type hints.
|
gptkbp:pythonVersion |
3.10
|
gptkbp:replacedBy |
typing.Union[X, Y] with X | Y
|
gptkbp:resolution |
https://mail.python.org/archives/list/[email protected]/thread/6QK7Q2Q2Q2Q2Q2Q2/
|
gptkbp:status |
Final
|
gptkbp:title |
Allow writing union types as X | Y
|
gptkbp:topic |
Type hinting
|
gptkbp:bfsParent |
gptkb:PEP_655:_Marking_individual_TypedDict_items_as_required_or_potentially-missing
gptkb:PEP_675:_Arbitrary_Literal_String_Type gptkb:Python_3.10 |
gptkbp:bfsLayer |
7
|