Add missing versionadded directive for PyCode_Addr2Location (GH-101347)

(cherry picked from commit f11a3d1ebe)

Co-authored-by: Max Bachmann <oss@maxbachmann.de>
This commit is contained in:
Miss Islington (bot) 2023-02-03 19:40:51 -08:00 committed by GitHub
parent 898de13f91
commit 4c763463fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')``.