]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-92417: `json` docs: `dict` is ordered on all supported Python versions (GH-92422)
authorAlex Waygood <Alex.Waygood@Gmail.com>
Sun, 8 May 2022 13:16:52 +0000 (14:16 +0100)
committerGitHub <noreply@github.com>
Sun, 8 May 2022 13:16:52 +0000 (16:16 +0300)
Doc/library/json.rst

index 510b0459bbb5ae31335d5afb4cb38244c5cdb095..1e203242327cad2a7085638e3f680d2261a7a331 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
 -----------