https://github.com/python/cpython/commit/d12086e8228323cc2e31d263f1aeb8190bd1c1d9
commit: d12086e8228323cc2e31d263f1aeb8190bd1c1d9
branch: main
author: RayXu <[email protected]>
committer: vstinner <[email protected]>
date: 2025-10-27T10:43:24+01:00
summary:
Docs: Replace "encoder" with "decoder" in `Doc/c-api/codec.rst` (#140613)
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]