[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 d12086e822)

Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2025-10-27 10:51:34 +01:00 committed by GitHub
parent 15f92e66eb
commit 134e2f8d7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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