diff options
author | Wenzel Jakob <wenzel.jakob@epfl.ch> | 2022-05-27 08:27:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-27 08:27:39 (GMT) |
commit | 5e34b494a08015e9b5a3deade23943bdba284a93 (patch) | |
tree | 829c824df2d307b14d0cf9efc51e2bbfcca92589 /Doc/data | |
parent | 20d30ba2ccf9182e4f08db112f428c909148a40b (diff) | |
download | cpython-5e34b494a08015e9b5a3deade23943bdba284a93.zip cpython-5e34b494a08015e9b5a3deade23943bdba284a93.tar.gz cpython-5e34b494a08015e9b5a3deade23943bdba284a93.tar.bz2 |
gh-60074: add new stable API function PyType_FromMetaclass (GH-93012)
Added a new stable API function ``PyType_FromMetaclass``, which mirrors
the behavior of ``PyType_FromModuleAndSpec`` except that it takes an
additional metaclass argument. This is, e.g., useful for language
binding tools that need to store additional information in the type
object.
Diffstat (limited to 'Doc/data')
-rw-r--r-- | Doc/data/stable_abi.dat | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/data/stable_abi.dat b/Doc/data/stable_abi.dat index 3912a7c..82cd579 100644 --- a/Doc/data/stable_abi.dat +++ b/Doc/data/stable_abi.dat @@ -653,6 +653,7 @@ function,PyTuple_Size,3.2,, var,PyTuple_Type,3.2,, type,PyTypeObject,3.2,,opaque function,PyType_ClearCache,3.2,, +function,PyType_FromMetaclass,3.12,, function,PyType_FromModuleAndSpec,3.10,, function,PyType_FromSpec,3.2,, function,PyType_FromSpecWithBases,3.3,, |