unpacking generalizations (PEP 448)
GPTKB entity
Statements (21)
Predicate | Object |
---|---|
gptkbp:instanceOf |
Python Enhancement Proposal
|
gptkbp:allows |
multiple *iterables in list, set, and tuple literals
multiple **mappings in dict literals |
gptkbp:author |
gptkb:Yury_Selivanov
|
gptkbp:created |
2013-07-09
|
gptkbp:describes |
Allowing multiple unpackings in function calls and literals
|
gptkbp:example |
[*a, *b, 1, 2]
{**d1, **d2, 'a': 1} |
https://www.w3.org/2000/01/rdf-schema#label |
unpacking generalizations (PEP 448)
|
gptkbp:implementedIn |
gptkb:CPython
|
gptkbp:JEP_number |
448
|
gptkbp:motive |
make Python syntax more consistent and expressive
|
gptkbp:python-version |
3.5
|
gptkbp:replacedBy |
limitations of previous unpacking syntax
|
gptkbp:seeAlso |
gptkb:PEP_3113
gptkb:PEP_3132 |
gptkbp:status |
Final
|
gptkbp:title |
Additional Unpacking Generalizations
|
gptkbp:topic |
language feature
|
gptkbp:bfsParent |
gptkb:Python_3.5+
|
gptkbp:bfsLayer |
6
|