https://github.com/python/cpython/commit/5ae4612e72c315ac18edaeee9e4851654844a454
commit: 5ae4612e72c315ac18edaeee9e4851654844a454
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: vstinner <[email protected]>
date: 2025-10-27T09:51:14Z
summary:

[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 <[email protected]>

files:
M Doc/c-api/codec.rst

diff --git a/Doc/c-api/codec.rst b/Doc/c-api/codec.rst
index 9876060dd74ac4..08a99245ad6528 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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to