PyType_GenericAlloc is inherited from object.

This commit is contained in:
Raymond Hettinger 2003-05-23 03:55:42 +00:00
parent c26ff41d3d
commit bfef18ca0e
2 changed files with 13 additions and 13 deletions

View file

@ -509,7 +509,7 @@ static PyTypeObject Random_Type = {
0, /*tp_descr_set*/
0, /*tp_dictoffset*/
0, /*tp_init*/
PyType_GenericAlloc, /*tp_alloc*/
0, /*tp_alloc*/
random_new, /*tp_new*/
_PyObject_Del, /*tp_free*/
0, /*tp_is_gc*/