summaryrefslogtreecommitdiff
path: root/Modules/_randommodule.c
diff options
context:
space:
mode:
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 25adc2e120..95b7ade928 100644
--- a/Modules/_randommodule.c
+++ b/Modules/_randommodule.c
@@ -557,7 +557,7 @@ static PyTypeObject Random_Type = {
0, /*tp_init*/
0, /*tp_alloc*/
random_new, /*tp_new*/
- _PyObject_Del, /*tp_free*/
+ PyObject_Free, /*tp_free*/
0, /*tp_is_gc*/
};