]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38056: overhaul Error Handlers section in codecs documentation (#15732)
authorMa Lin <animalize@users.noreply.github.com>
Mon, 9 May 2022 02:58:55 +0000 (10:58 +0800)
committerGitHub <noreply@github.com>
Mon, 9 May 2022 02:58:55 +0000 (19:58 -0700)
commit5bc2390229bbcb4f13359e867fd8a140a1d5496b
tree1db8061cb05c76be342a1a680c3b31a31852791e
parentf298ba1f2712ad10530a30bb225548a6889820b5
bpo-38056: overhaul Error Handlers section in codecs documentation (#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>
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]