Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit a57a8a3

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

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

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)