From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 26 Oct 2025 09:45:34 +0000 (+0100) Subject: [3.14] Docs: Fix a grammatical error in `Doc/c-api/codec.rst` (GH-140612) (#140616) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=57ba6aedf6c11b52154e0ba17ae86bb8bcabd574;p=thirdparty%2FPython%2Fcpython.git [3.14] Docs: Fix a grammatical error in `Doc/c-api/codec.rst` (GH-140612) (#140616) Docs: Fix a grammatical error in `Doc/c-api/codec.rst` (GH-140612) (cherry picked from commit 33b2ca80bb073e25b8e23691da96cf0eda67c7bf) Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com> --- 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)