8000 gh-92417: `json` docs: `dict` is ordered on all supported Python vers… · python/cpython@bc098cf · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bc098cf

Browse files
authored
gh-92417: json docs: dict is ordered on all supported Python versions (GH-92422)
1 parent f4e317b commit bc098cf

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)
0