diff options
Diffstat (limited to 'Modules/_randommodule.c')
-rw-r--r-- | Modules/_randommodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c index 1a004a9..4a87a8e 100644 --- a/Modules/_randommodule.c +++ b/Modules/_randommodule.c @@ -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*/ |