Skip to content

Commit e0dc7eb

Browse files
committed
gh-137533:nuked new note under function:: loads()
1 parent 541878a commit e0dc7eb

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
@@ -371,13 +371,6 @@ Basic Usage
371371
.. versionchanged:: 3.9
372372
The keyword argument *encoding* has been removed.
373373

374-
.. note::
375-
376-
As mandated by :rfc:`7159`, JSON keys must be :class:`str` objects.
377-
In particular, ``json.loads('{"42": "spam"}')`` returns ``{'42': 'spam'}``,
378-
but ``json.loads('{42: "spam"}')`` fails since ``42`` is not a valid JSON key.
379-
380-
381374
Encoders and Decoders
382375
---------------------
383376

0 commit comments

Comments
 (0)