diff options
author | Inada Naoki <songofacandy@gmail.com> | 2020-01-22 10:01:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-22 10:01:24 (GMT) |
commit | 5bbac8cbdf140ebce446ea4e7db2b20a5d7b8402 (patch) | |
tree | 70a155f555f2b0c86faac75a57a8dc67ab473abd /Doc/whatsnew | |
parent | 0d5eac8c327251f8edde5261cee43975d81311f6 (diff) | |
download | cpython-5bbac8cbdf140ebce446ea4e7db2b20a5d7b8402.zip cpython-5bbac8cbdf140ebce446ea4e7db2b20a5d7b8402.tar.gz cpython-5bbac8cbdf140ebce446ea4e7db2b20a5d7b8402.tar.bz2 |
bpo-39377: json: Update doc about the encoding option. (GH-18076)
Co-authored-by: Kyle Stanley <aeros167@gmail.com>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.9.rst | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index ab27c48..00341ef 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -424,11 +424,15 @@ Removed (Contributed by Victor Stinner in :issue:`39350`.) * The *buffering* parameter of :class:`bz2.BZ2File` has been removed. Since - Python 3.0, it was ignored and using it was emitting - :exc:`DeprecationWarning`. Pass an open file object to control how the file - is opened. + Python 3.0, it was ignored and using it emitted a :exc:`DeprecationWarning`. + Pass an open file object to control how the file is opened. (Contributed by Victor Stinner in :issue:`39357`.) +* The *encoding* parameter of :func:`json.loads` has been removed. + As of Python 3.1, it was deprecated and ignored; using it has emitted a + :exc:`DeprecationWarning` since Python 3.8. + (Contributed by Inada Naoki in :issue:`39377`) + Porting to Python 3.9 ===================== |