Skip to content

Commit 1814bfa

Browse files
committed
gh-137533:shorten the sentence of this note,maybe its too short : (
1 parent e0dc7eb commit 1814bfa

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Doc/library/json.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,9 @@ See :ref:`json-commandline` for detailed documentation.
147147
default. Order is only lost if the underlying containers are unordered.
148148

149149
.. note::
150-
According to :rfc:`7159`, the keys of all objects in JSON are strings.
151-
Under normal circumstances,the encoder of this module
152-
will convert the keys of all Python dictionaries into strings as the
153-
keys of JSON objects, and the decoder of this module will
154-
decode the keys of all JSON objects into strings as the keys
155-
of Python dictionaries
150+
Per RFC 7159, JSON keys are strings.
151+
This module's encoder converts dictionary keys to strings,
152+
and its decoder produces dictionaries with string keys.
156153

157154
Basic Usage
158155
-----------

0 commit comments

Comments
 (0)