Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit a57a8a3

Browse files
committed
Issue python#29281: Fill-in a missing versionchanged entry
1 parent 346454c commit a57a8a3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/library/json.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,11 @@ Basic Usage
278278
If the data being deserialized is not a valid JSON document, a
279279
:exc:`JSONDecodeError` will be raised.
280280

281+
.. versionchanged:: 3.6
282+
*s* can now be of type :class:`bytes` or :class:`bytearray`. The
283+
input encoding should be UTF-8, UTF-16 or UTF-32.
284+
285+
281286
Encoders and Decoders
282287
---------------------
283288

0 commit comments

Comments
 (0)