summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/typeobject.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 43b4d07..2240f78 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -3628,6 +3628,12 @@ PyType_FromSpec(PyType_Spec *spec)
return PyType_FromSpecWithBases(spec, NULL);
}
+PyObject *
+PyType_GetName(PyTypeObject *type)
+{
+ return type_name(type, NULL);
+}
+
void *
PyType_GetSlot(PyTypeObject *type, int slot)
{