]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.9] gh-92417: `json` docs: `dict` is ordered on all supported Python versions ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 8 May 2022 15:30:08 +0000 (08:30 -0700)
committerGitHub <noreply@github.com>
Sun, 8 May 2022 15:30:08 +0000 (08:30 -0700)
(cherry picked from commit bc098cfdb756f207d8fa84793e8ad91a2f263efb)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Automerge-Triggered-By: GH:serhiy-storchaka
Doc/library/json.rst

index 1810e04cc83495045f26f3af9a7eda336c0386ad..608e70df5b14c9c523c58a7c6254292115e638e0 100644 (file)
@@ -125,13 +125,6 @@ See :ref:`json-commandline` for detailed documentation.
    This module's encoders and decoders preserve input and output order by
    default.  Order is only lost if the underlying containers are unordered.
 
-   Prior to Python 3.7, :class:`dict` was not guaranteed to be ordered, so
-   inputs and outputs were typically scrambled unless
-   :class:`collections.OrderedDict` was specifically requested.  Starting
-   with Python 3.7, the regular :class:`dict` became order preserving, so
-   it is no longer necessary to specify :class:`collections.OrderedDict` for
-   JSON generation and parsing.
-
 
 Basic Usage
 -----------