Fix typo in Doc/c-api/code.rst (#140586)

This commit is contained in:
RayXu 2025-10-25 23:34:45 +08:00 committed by GitHub
parent 2a1c9bd616
commit d74a96366d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -289,7 +289,7 @@ may change without deprecation warnings.
.. c:function:: Py_ssize_t PyUnstable_Eval_RequestCodeExtraIndex(freefunc free) .. c:function:: Py_ssize_t PyUnstable_Eval_RequestCodeExtraIndex(freefunc free)
Return a new an opaque index value used to adding data to code objects. Return a new opaque index value used to adding data to code objects.
You generally call this function once (per interpreter) and use the result You generally call this function once (per interpreter) and use the result
with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate