mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
bpo-42035: Add PyType_GetQualName() to get a type's qualified name. (GH-27551)
This commit is contained in:
parent
6a358bb948
commit
3e2c643ae0
10 changed files with 67 additions and 0 deletions
|
@ -241,6 +241,7 @@ PyAPI_FUNC(void *) PyType_GetModuleState(struct _typeobject *);
|
|||
#endif
|
||||
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x030B0000
|
||||
PyAPI_FUNC(PyObject *) PyType_GetName(PyTypeObject *);
|
||||
PyAPI_FUNC(PyObject *) PyType_GetQualName(PyTypeObject *);
|
||||
#endif
|
||||
|
||||
/* Generic type check */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue