]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38056: overhaul Error Handlers section in codecs documentation (GH-15732)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 9 May 2022 03:20:07 +0000 (20:20 -0700)
committerGitHub <noreply@github.com>
Mon, 9 May 2022 03:20:07 +0000 (20:20 -0700)
commit03aa75221bf0bda469343de5af26766f09e904fe
tree876d3ab2acb8659dca22a7d3f1f580109e0afe61
parentbf5fc2adb7c6896cd6da59ce823098e611b16f90
bpo-38056: overhaul Error Handlers section in codecs documentation (GH-15732)

* Some handlers were wrongly described as text-encoding only, but actually they can also be used in text-decoding.
* Add more description to each handler.
* Add two REPL examples.
* Add indexes for Error Handler's name.

Co-authored-by: Kyle Stanley <aeros167@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 5bc2390229bbcb4f13359e867fd8a140a1d5496b)

Co-authored-by: Ma Lin <animalize@users.noreply.github.com>
Doc/glossary.rst
Doc/library/codecs.rst
Misc/NEWS.d/next/Documentation/2019-09-12-08-28-17.bpo-38056.6ktYkc.rst [new file with mode: 0644]