diff options
author | Hai Shi <shihai1992@gmail.com> | 2021-08-17 13:39:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 13:39:34 (GMT) |
commit | 3e2c643ae0b21f9e596bfd9c8ec99ca546ea8d0f (patch) | |
tree | be4a37d2598016830e499dd7fb45b75fea71b1e9 /Include/object.h | |
parent | 6a358bb9482f7595b858ea7b800cbe66f0de5fa1 (diff) | |
download | cpython-3e2c643ae0b21f9e596bfd9c8ec99ca546ea8d0f.zip cpython-3e2c643ae0b21f9e596bfd9c8ec99ca546ea8d0f.tar.gz cpython-3e2c643ae0b21f9e596bfd9c8ec99ca546ea8d0f.tar.bz2 |
bpo-42035: Add PyType_GetQualName() to get a type's qualified name. (GH-27551)
Diffstat (limited to 'Include/object.h')
-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 23ebad8..fb8a63f 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 */ |