Mercurial > cpython-lru_cache-weakref
diff Include/object.h @ 19040:4df72ea78ae8 legacy-trunk
- Rename PyType_InitDict() to PyType_Ready().
- Add an explicit call to PyType_Ready(&PyList_Type) to pythonrun.c
(just for the heck of it, really -- we should either explicitly
ready all types, or none).
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 07 Aug 2001 17:24:28 +0000 |
| parents | 81114209ee8e |
| children | f20727cc3d0f |
line wrap: on
line diff
--- a/Include/object.h Tue Aug 07 17:19:25 2001 +0000 +++ b/Include/object.h Tue Aug 07 17:24:28 2001 +0000 @@ -297,7 +297,7 @@ #define PyType_Check(op) PyObject_TypeCheck(op, &PyType_Type) -extern DL_IMPORT(int) PyType_InitDict(PyTypeObject *); +extern DL_IMPORT(int) PyType_Ready(PyTypeObject *); extern DL_IMPORT(PyObject *) PyType_GenericAlloc(PyTypeObject *, int); extern DL_IMPORT(PyObject *) PyType_GenericNew(PyTypeObject *, PyObject *, PyObject *);
