]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Fix typo in `Doc/c-api/code.rst` (GH-140586) (#140591)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 25 Oct 2025 15:41:04 +0000 (17:41 +0200)
committerGitHub <noreply@github.com>
Sat, 25 Oct 2025 15:41:04 +0000 (15:41 +0000)
Fix typo in `Doc/c-api/code.rst` (GH-140586)
(cherry picked from commit d74a96366df58b6e55d4a03612c3e67da2211ddd)

Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
Doc/c-api/code.rst

index 717b0da8f87c7f70f0cfa70f3896077891ab6405..c9741b61254b1908a8151d04789d3aa84f60bea2 100644 (file)
@@ -289,7 +289,7 @@ may change without deprecation warnings.
 
 .. 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
    with ``PyCode_GetExtra`` and ``PyCode_SetExtra`` to manipulate