mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
PyType_GenericAlloc is inherited from object.
This commit is contained in:
parent
c26ff41d3d
commit
bfef18ca0e
2 changed files with 13 additions and 13 deletions
|
|
@ -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*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue