PEP-0584: Specify order guarantee (GH-1409)

This commit is contained in:
David Mertz 2020-05-20 12:34:00 -04:00 committed by GitHub
parent 116212bf6c
commit 93849f7046
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -175,6 +175,8 @@ accept any iterable, not just lists. Continued from above::
>>> d
{'eggs': 2, 'cheese': 'cheddar', 'aardvark': 'Ethel', 'spam': 999}
When new keys are added, their order matches their order within the
right-hand mapping, if any exists for its type.
========================
Reference Implementation