From f663ba484daa5ba25d1011f7f64db8a939c8d73f Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sat, 7 May 2022 13:01:18 +0100 Subject: [PATCH] gh-92417: `json` docs: `dict` is ordered on all supported Python versions --- Doc/library/json.rst | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Doc/library/json.rst b/Doc/library/json.rst index 510b0459bbb5ae..1e203242327cad 100644 --- a/Doc/library/json.rst +++ b/Doc/library/json.rst @@ -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 -----------