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

[3.13] Docs: Replace "encoder" with "decoder" in `Doc/c-api/codec.rst` 
(GH-140613) (#140662)

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