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 /PC | |
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 'PC')
-rwxr-xr-x | PC/python3dll.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/PC/python3dll.c b/PC/python3dll.c index 0ebb56e..1659e9f 100755 --- a/PC/python3dll.c +++ b/PC/python3dll.c @@ -588,6 +588,7 @@ EXPORT_FUNC(PyType_GenericNew) EXPORT_FUNC(PyType_GetFlags) EXPORT_FUNC(PyType_GetModule) EXPORT_FUNC(PyType_GetModuleState) +EXPORT_FUNC(PyType_GetName) EXPORT_FUNC(PyType_GetSlot) EXPORT_FUNC(PyType_IsSubtype) EXPORT_FUNC(PyType_Modified) |