mirror of https://github.com/python/cpython
Add missing `versionadded` directive for `PyCode_Addr2Location` (#101347)
This commit is contained in:
parent
c67b00534a
commit
f11a3d1ebe
|
@ -77,6 +77,8 @@ bound into a function.
|
||||||
|
|
||||||
Returns ``1`` if the function succeeds and 0 otherwise.
|
Returns ``1`` if the function succeeds and 0 otherwise.
|
||||||
|
|
||||||
|
.. versionadded:: 3.11
|
||||||
|
|
||||||
.. c:function:: PyObject* PyCode_GetCode(PyCodeObject *co)
|
.. c:function:: PyObject* PyCode_GetCode(PyCodeObject *co)
|
||||||
|
|
||||||
Equivalent to the Python code ``getattr(co, 'co_code')``.
|
Equivalent to the Python code ``getattr(co, 'co_code')``.
|
||||||
|
|
Loading…
Reference in New Issue