diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-07-05 15:37:25 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-07-05 15:37:25 (GMT) |
commit | d5d77aac60453694445d1509b51d7514871dbff8 (patch) | |
tree | b0b3e94cffe817baff1e775e9a4ce7ef653fb571 /Lib/test/test_unpack_ex.py | |
parent | 1554b17856148596bbec6a22de910cdf6e20a22f (diff) | |
download | cpython-d5d77aac60453694445d1509b51d7514871dbff8.zip cpython-d5d77aac60453694445d1509b51d7514871dbff8.tar.gz cpython-d5d77aac60453694445d1509b51d7514871dbff8.tar.bz2 |
set items in dict displays from left to right (closes #24569)
Diffstat (limited to 'Lib/test/test_unpack_ex.py')
-rw-r--r-- | Lib/test/test_unpack_ex.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_unpack_ex.py b/Lib/test/test_unpack_ex.py index 01f57b9..d27eef0 100644 --- a/Lib/test/test_unpack_ex.py +++ b/Lib/test/test_unpack_ex.py @@ -128,6 +128,9 @@ Dict display element unpacking ... for i in range(1000)) + "}")) 1000 + >>> {0:1, **{0:2}, 0:3, 0:4} + {0: 4} + List comprehension element unpacking >>> a, b, c = [0, 1, 2], 3, 4 |