mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
parent
a45afcada3
commit
ff63e7afcf
2 changed files with 2 additions and 1 deletions
|
@ -878,7 +878,7 @@ are deleted. But when new keys are added, the keys are appended
|
|||
to the end and the sort is not maintained.
|
||||
|
||||
It is also straight-forward to create an ordered dictionary variant
|
||||
that the remembers the order the keys were *last* inserted.
|
||||
that remembers the order the keys were *last* inserted.
|
||||
If a new entry overwrites an existing entry, the
|
||||
original insertion position is changed and moved to the end::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue