Docs: Fix a grammatical error in Doc/c-api/codec.rst (#140612)

This commit is contained in:
RayXu 2025-10-26 17:39:32 +08:00 committed by GitHub
parent 421a475c87
commit 33b2ca80bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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