Mercurial > cpython-lru_cache-weakref
diff Include/object.h @ 19470:45ea3b5fcbe5 legacy-trunk
Add decl of PySuper_Type; fixup comments for the two other types.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 24 Aug 2001 16:51:42 +0000 |
| parents | 7257e87e0720 |
| children | b67309407cfc |
line wrap: on
line diff
--- a/Include/object.h Fri Aug 24 16:47:00 2001 +0000 +++ b/Include/object.h Fri Aug 24 16:51:42 2001 +0000 @@ -304,8 +304,9 @@ #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)
