mirror of
https://github.com/python/cpython.git
synced 2025-10-13 10:23:28 +00:00
- 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).
This commit is contained in:
parent
c5943b1c8c
commit
528b7eb0b0
5 changed files with 16 additions and 13 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue