From e1dbf355a86ba99d6f9d7ac86a6438cb624c61c9 Mon Sep 17 00:00:00 2001 From: F18-Maverick Date: Sun, 26 Oct 2025 13:39:51 +0800 Subject: [PATCH] fix tech error in ./Doc/c-api/codec.rst encoder -> decoder --- Doc/c-api/codec.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/c-api/codec.rst b/Doc/c-api/codec.rst index 8ae5c4fecd6248..12854f441f1168 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