Skip to content

Commit baed0c3

Browse files
[3.9] gh-92417: json docs: dict is ordered on all supported Python versions (GH-92422) (GH-92466)
(cherry picked from commit bc098cf) Co-authored-by: Alex Waygood <[email protected]> Automerge-Triggered-By: GH:serhiy-storchaka
1 parent 7fd4e65 commit baed0c3

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Doc/library/json.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,13 +125,6 @@ See :ref:`json-commandline` for detailed documentation.
125125
This module's encoders and decoders preserve input and output order by
126126
default. Order is only lost if the underlying containers are unordered.
127127

128-
Prior to Python 3.7, :class:`dict` was not guaranteed to be ordered, so
129-
inputs and outputs were typically scrambled unless
130-
:class:`collections.OrderedDict` was specifically requested. Starting
131-
with Python 3.7, the regular :class:`dict` became order preserving, so
132-
it is no longer necessary to specify :class:`collections.OrderedDict` for
133-
JSON generation and parsing.
134-
135128

136129
Basic Usage
137130
-----------

0 commit comments

Comments
 (0)