diff options
author | Hai Shi <shihai1992@gmail.com> | 2021-08-17 21:39:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 15:39:34 +0200 |
commit | 3e2c643ae0b21f9e596bfd9c8ec99ca546ea8d0f (patch) | |
tree | be4a37d2598016830e499dd7fb45b75fea71b1e9 /Include | |
parent | 6a358bb9482f7595b858ea7b800cbe66f0de5fa1 (diff) | |
download | cpython3-3e2c643ae0b21f9e596bfd9c8ec99ca546ea8d0f.tar.gz |
bpo-42035: Add PyType_GetQualName() to get a type's qualified name. (GH-27551)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/object.h b/Include/object.h index 23ebad84ab..fb8a63fc7d 100644 --- a/Include/object.h +++ b/Include/object.h @@ -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 */ |