From 93849f704653eef7651207926446efa6d4d068f4 Mon Sep 17 00:00:00 2001 From: David Mertz Date: Wed, 20 May 2020 12:34:00 -0400 Subject: [PATCH] PEP-0584: Specify order guarantee (GH-1409) --- pep-0584.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pep-0584.rst b/pep-0584.rst index 34eb3960a..c47c84b19 100644 --- a/pep-0584.rst +++ b/pep-0584.rst @@ -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