From: RayXu <140802139+F18-Maverick@users.noreply.github.com> Date: Sun, 26 Oct 2025 09:39:32 +0000 (+0800) Subject: Docs: Fix a grammatical error in `Doc/c-api/codec.rst` (#140612) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=33b2ca80bb073e25b8e23691da96cf0eda67c7bf;p=thirdparty%2FPython%2Fcpython.git Docs: Fix a grammatical error in `Doc/c-api/codec.rst` (#140612) --- diff --git a/Doc/c-api/codec.rst b/Doc/c-api/codec.rst index 8ae5c4fecd62..9876060dd74a 100644 --- a/Doc/c-api/codec.rst +++ b/Doc/c-api/codec.rst @@ -7,7 +7,7 @@ Codec registry and support functions Register a new codec search function. - As side effect, this tries to load the :mod:`!encodings` package, if not yet + As a side effect, this tries to load the :mod:`!encodings` package, if not yet done, to make sure that it is always first in the list of search functions. .. c:function:: int PyCodec_Unregister(PyObject *search_function)