Skip to content

Commit 4c76346

Browse files
Add missing versionadded directive for PyCode_Addr2Location (GH-101347)
(cherry picked from commit f11a3d1) Co-authored-by: Max Bachmann <[email protected]>
1 parent 898de13 commit 4c76346

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/c-api/code.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ bound into a function.
7777
7878
Returns ``1`` if the function succeeds and 0 otherwise.
7979
80+
.. versionadded:: 3.11
81+
8082
.. c:function:: PyObject* PyCode_GetCode(PyCodeObject *co)
8183
8284
Equivalent to the Python code ``getattr(co, 'co_code')``.

0 commit comments

Comments
 (0)