PEP-448 for list and set literals.

Authored by flherne on Dec 29 2016, 8:42 PM.

Description

PEP-448 for list and set literals.

foo = [1, 2]
bar = [1.4, *foo] # list of unsure (int, float)

Same for sets.

No test regressions, two new tests previously failed and now pass.

Differential Revision: https://phabricator.kde.org/D3868

Details

Committed
flherneDec 29 2016, 9:13 PM
Differential Revision
D3868: PEP-448 in list and set literals
Parents
R53:fde31d655526: PEP-448 unpacking in dict literals.
Branches
Unknown
Tags
Unknown
References
tag: v5.0.80