bpo-42035: Add a PyType_GetName() to get type's short name. (GH-23903)

This commit is contained in:
Hai Shi 2021-07-29 15:57:02 +08:00 committed by GitHub
parent 5269c09145
commit a390ebea17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 68 additions and 0 deletions

View file

@ -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)