summaryrefslogtreecommitdiffstats
path: root/Modules/datetimemodule.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2003-05-16 22:44:06 (GMT)
committerTim Peters <tim.peters@gmail.com>2003-05-16 22:44:06 (GMT)
commit4c530130302ee74c49dfd44f5068c563af1aeb30 (patch)
tree0f7cdd3e4ecedae51adc242185337a94b1a01f73 /Modules/datetimemodule.c
parent0490011075da8728dc3be51729845ee5fec6a6bd (diff)
downloadcpython-4c530130302ee74c49dfd44f5068c563af1aeb30.zip
cpython-4c530130302ee74c49dfd44f5068c563af1aeb30.tar.gz
cpython-4c530130302ee74c49dfd44f5068c563af1aeb30.tar.bz2
Turns out there wasn't a need to define tp_free for any of the types here.
Diffstat (limited to 'Modules/datetimemodule.c')
-rw-r--r--Modules/datetimemodule.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/datetimemodule.c b/Modules/datetimemodule.c
index 66fb355..d25eb70 100644
--- a/Modules/datetimemodule.c
+++ b/Modules/datetimemodule.c
@@ -2117,7 +2117,7 @@ static PyTypeObject PyDateTime_DeltaType = {
0, /* tp_init */
0, /* tp_alloc */
delta_new, /* tp_new */
- PyObject_Del, /* tp_free */
+ 0, /* tp_free */
};
/*
@@ -2670,7 +2670,7 @@ static PyTypeObject PyDateTime_DateType = {
0, /* tp_init */
0, /* tp_alloc */
date_new, /* tp_new */
- PyObject_Del, /* tp_free */
+ 0, /* tp_free */
};
/*
@@ -3441,7 +3441,7 @@ statichere PyTypeObject PyDateTime_TimeType = {
0, /* tp_init */
0, /* tp_alloc */
time_new, /* tp_new */
- PyObject_Del, /* tp_free */
+ 0, /* tp_free */
};
/*
@@ -4462,7 +4462,7 @@ statichere PyTypeObject PyDateTime_DateTimeType = {
0, /* tp_init */
0, /* tp_alloc */
datetime_new, /* tp_new */
- PyObject_Del, /* tp_free */
+ 0, /* tp_free */
};
/* ---------------------------------------------------------------------------