diff options
author | Guido van Rossum <guido@python.org> | 2001-08-07 17:24:28 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-07 17:24:28 (GMT) |
commit | 528b7eb0b0fa5a6bbbf5f3dfbfb7c356edaf031c (patch) | |
tree | 7cceb95854e84eb61468b749c168f870a1d4dc2a /Include/object.h | |
parent | c5943b1c8c49e235efd6e6b4c7fbfb4952c28fd0 (diff) | |
download | cpython-528b7eb0b0fa5a6bbbf5f3dfbfb7c356edaf031c.zip cpython-528b7eb0b0fa5a6bbbf5f3dfbfb7c356edaf031c.tar.gz cpython-528b7eb0b0fa5a6bbbf5f3dfbfb7c356edaf031c.tar.bz2 |
- 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).
Diffstat (limited to 'Include/object.h')
-rw-r--r-- | Include/object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h index 1f749ec..9f679b0 100644 --- a/Include/object.h +++ b/Include/object.h @@ -297,7 +297,7 @@ extern DL_IMPORT(PyTypeObject) PyBaseObject_Type; /* Most base object type */ #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 *); |