diff options
author | Max Bachmann <oss@maxbachmann.de> | 2023-02-04 03:33:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-04 03:33:28 (GMT) |
commit | f11a3d1ebe0c78f8c159c63a37022b9b96f720dd (patch) | |
tree | 58320ee81cf4e7bf1db4b398324da43377b6a3df /Doc/c-api | |
parent | c67b00534abfeca83016a00818cf1fd949613d6b (diff) | |
download | cpython-f11a3d1ebe0c78f8c159c63a37022b9b96f720dd.zip cpython-f11a3d1ebe0c78f8c159c63a37022b9b96f720dd.tar.gz cpython-f11a3d1ebe0c78f8c159c63a37022b9b96f720dd.tar.bz2 |
Add missing `versionadded` directive for `PyCode_Addr2Location` (#101347)
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/code.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/c-api/code.rst b/Doc/c-api/code.rst index a6eb86f..ae75d68 100644 --- a/Doc/c-api/code.rst +++ b/Doc/c-api/code.rst @@ -77,6 +77,8 @@ bound into a function. Returns ``1`` if the function succeeds and 0 otherwise. + .. versionadded:: 3.11 + .. c:function:: PyObject* PyCode_GetCode(PyCodeObject *co) Equivalent to the Python code ``getattr(co, 'co_code')``. |