diff options
author | Hai Shi <shihai1992@gmail.com> | 2021-07-29 07:57:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-29 07:57:02 (GMT) |
commit | a390ebea17a96d1c93fc5f75b1e19916090a4561 (patch) | |
tree | 3780f80b1c97d14aa433260ddc039e6f5046996a /Doc/data | |
parent | 5269c091458c5ea76eb625e4fabc9980b6309266 (diff) | |
download | cpython-a390ebea17a96d1c93fc5f75b1e19916090a4561.zip cpython-a390ebea17a96d1c93fc5f75b1e19916090a4561.tar.gz cpython-a390ebea17a96d1c93fc5f75b1e19916090a4561.tar.bz2 |
bpo-42035: Add a PyType_GetName() to get type's short name. (GH-23903)
Diffstat (limited to 'Doc/data')
-rw-r--r-- | Doc/data/refcounts.dat | 3 | ||||
-rw-r--r-- | Doc/data/stable_abi.dat | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Doc/data/refcounts.dat b/Doc/data/refcounts.dat index 22dae0c..8fd6c7b 100644 --- a/Doc/data/refcounts.dat +++ b/Doc/data/refcounts.dat @@ -2289,6 +2289,9 @@ PyType_GenericNew:PyObject*:kwds:0: PyType_GetFlags:unsigned long::: PyType_GetFlags:PyTypeObject*:type:0: +PyType_GetName:PyObject*::+1: +PyType_GetName:PyTypeObject*:type:0: + PyType_GetSlot:void*::: PyType_GetSlot:PyTypeObject*:type:0: PyType_GetSlot:int:slot:: diff --git a/Doc/data/stable_abi.dat b/Doc/data/stable_abi.dat index e373e23..c7dde01 100644 --- a/Doc/data/stable_abi.dat +++ b/Doc/data/stable_abi.dat @@ -639,6 +639,7 @@ function,PyType_GenericNew,3.2, function,PyType_GetFlags,3.2, function,PyType_GetModule,3.10, function,PyType_GetModuleState,3.10, +function,PyType_GetName,3.11, function,PyType_GetSlot,3.4, function,PyType_IsSubtype,3.2, function,PyType_Modified,3.2, |