Skip to content

Commit f11a3d1

Browse files
authored
Add missing versionadded directive for PyCode_Addr2Location (#101347)
1 parent c67b005 commit f11a3d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/c-api/code.rst

+2
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)