gh-116936: Add PyType_GetModuleByDef() to the limited C API (#116937)

This commit is contained in:
Victor Stinner 2024-03-25 17:32:20 +01:00 committed by GitHub
parent 0c1a42cf9c
commit 507896d97d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 14 additions and 1 deletions

View file

@ -679,6 +679,7 @@ function,PyType_GenericNew,3.2,,
function,PyType_GetFlags,3.2,,
function,PyType_GetFullyQualifiedName,3.13,,
function,PyType_GetModule,3.10,,
function,PyType_GetModuleByDef,3.13,,
function,PyType_GetModuleName,3.13,,
function,PyType_GetModuleState,3.10,,
function,PyType_GetName,3.11,,

View file

@ -1742,6 +1742,9 @@ New Features
:term:`strong reference` to the constant zero.
(Contributed by Victor Stinner in :gh:`115754`.)
* Add :c:func:`PyType_GetModuleByDef` to the limited C API
(Contributed by Victor Stinner in :gh:`116936`.)
Porting to Python 3.13
----------------------