Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Doc/reference/datamodel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,12 @@ Mappings
additional examples of mapping types, as does the :mod:`collections`
module.

.. versionchanged:: 3.7
The dictionary order is guaranteed to be the same as the insertion order.
Note that updating a key does not affect the order. Keys added after
deletion are inserted at the end. This behavior was an implementation
detail of CPython from 3.6.

Callable types
.. index::
object: callable
Expand Down
1 change: 1 addition & 0 deletions Misc/ACKS
Original file line number Diff line number Diff line change
Expand Up @@ -1235,6 +1235,7 @@ Jeffrey Ollie
Adam Olsen
Bryan Olson
Grant Olson
Furkan Onder
Koray Oner
Piet van Oostrum
Tomas Oppelstrup
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Update language reference to specify that dict is insertion-ordered.
Patch by Furkan Önder.