]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: Replace "encoder" with "decoder" in `Doc/c-api/codec.rst` (#140613)
authorRayXu <140802139+F18-Maverick@users.noreply.github.com>
Mon, 27 Oct 2025 09:43:24 +0000 (17:43 +0800)
committerGitHub <noreply@github.com>
Mon, 27 Oct 2025 09:43:24 +0000 (10:43 +0100)
Doc/c-api/codec.rst

index 9876060dd74ac42adb1d2336da276c0116ba7bb6..08a99245ad6528f139dd6f0107859ce917a8eb36 100644 (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