From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 27 Oct 2025 09:51:14 +0000 (+0100) Subject: [3.14] Docs: Replace "encoder" with "decoder" in `Doc/c-api/codec.rst` (GH-140613... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ae4612e72c315ac18edaeee9e4851654844a454;p=thirdparty%2FPython%2Fcpython.git [3.14] Docs: Replace "encoder" with "decoder" in `Doc/c-api/codec.rst` (GH-140613) (#140661) Docs: Replace "encoder" with "decoder" in `Doc/c-api/codec.rst` (GH-140613) (cherry picked from commit d12086e8228323cc2e31d263f1aeb8190bd1c1d9) Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com> --- diff --git a/Doc/c-api/codec.rst b/Doc/c-api/codec.rst index 9876060dd74a..08a99245ad65 100644 --- a/Doc/c-api/codec.rst +++ b/Doc/c-api/codec.rst @@ -39,7 +39,7 @@ Codec registry and support functions *object* is passed through the decoder function found for the given *encoding* using the error handling method defined by *errors*. *errors* may be ``NULL`` to use the default method defined for the codec. Raises a - :exc:`LookupError` if no encoder can be found. + :exc:`LookupError` if no decoder can be found. Codec lookup API