]> granicus.if.org Git - python/commitdiff
Add decl of PySuper_Type; fixup comments for the two other types.
authorGuido van Rossum <guido@python.org>
Fri, 24 Aug 2001 16:51:42 +0000 (16:51 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 24 Aug 2001 16:51:42 +0000 (16:51 +0000)
Include/object.h

index f83271712c70718327ed0b08d9007a80ee6c2267..740ee446337363899e3379e1947cb42f9f7b9919 100644 (file)
@@ -304,8 +304,9 @@ extern DL_IMPORT(int) PyType_IsSubtype(PyTypeObject *, PyTypeObject *);
 #define PyObject_TypeCheck(ob, tp) \
        ((ob)->ob_type == (tp) || PyType_IsSubtype((ob)->ob_type, (tp)))
 
-extern DL_IMPORT(PyTypeObject) PyType_Type; /* Metatype */
-extern DL_IMPORT(PyTypeObject) PyBaseObject_Type; /* Most base object type */
+extern DL_IMPORT(PyTypeObject) PyType_Type; /* built-in 'type' */
+extern DL_IMPORT(PyTypeObject) PyBaseObject_Type; /* built-in 'object' */
+extern DL_IMPORT(PyTypeObject) PySuper_Type; /* built-in 'super' */
 
 #define PyType_Check(op) PyObject_TypeCheck(op, &PyType_Type)