summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-24 16:51:42 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-24 16:51:42 (GMT)
commit609c7c8e87dc98bf3bc55643383f94141c37ace9 (patch)
treec98add4ffe606aa3eccf9b3b07aa8f0535c396f6
parent705f0f5a91fec6f4edaa2d8fd4faf17d75c4700c (diff)
downloadcpython-609c7c8e87dc98bf3bc55643383f94141c37ace9.zip
cpython-609c7c8e87dc98bf3bc55643383f94141c37ace9.tar.gz
cpython-609c7c8e87dc98bf3bc55643383f94141c37ace9.tar.bz2
Add decl of PySuper_Type; fixup comments for the two other types.
-rw-r--r--Include/object.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Include/object.h b/Include/object.h
index f832717..740ee44 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -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)