summaryrefslogtreecommitdiff
path: root/Modules/_randommodule.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-05-23 03:55:42 +0000
committerRaymond Hettinger <python@rcn.com>2003-05-23 03:55:42 +0000
commitbfef18ca0eff6800f40c7591f1c24a75998d06a6 (patch)
tree0677760b88194889b627ade3f00c0c6a0a25ceb3 /Modules/_randommodule.c
parentc26ff41d3d765e0299eed8adcb00dbd8079c52ec (diff)
downloadcpython-git-bfef18ca0eff6800f40c7591f1c24a75998d06a6.tar.gz
PyType_GenericAlloc is inherited from object.
Diffstat (limited to 'Modules/_randommodule.c')
-rw-r--r--Modules/_randommodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_randommodule.c b/Modules/_randommodule.c
index 1a004a9fe1..4a87a8e8e9 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*/