From a57a8a3e2d64dfff1bc843c8b34a6a5e06dbe595 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Thu, 19 Jan 2017 21:39:37 -0800 Subject: [PATCH] Issue #29281: Fill-in a missing versionchanged entry --- Doc/library/json.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/library/json.rst b/Doc/library/json.rst index 76e936f2bc..ed238e29ec 100644 --- a/Doc/library/json.rst +++ b/Doc/library/json.rst @@ -278,6 +278,11 @@ Basic Usage If the data being deserialized is not a valid JSON document, a :exc:`JSONDecodeError` will be raised. + .. versionchanged:: 3.6 + *s* can now be of type :class:`bytes` or :class:`bytearray`. The + input encoding should be UTF-8, UTF-16 or UTF-32. + + Encoders and Decoders --------------------- -- 2.40.0