]> granicus.if.org Git - python/commitdiff
Stopped using the old macro form of _PyObject_Del.
authorTim Peters <tim.peters@gmail.com>
Fri, 16 May 2003 20:02:26 +0000 (20:02 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 16 May 2003 20:02:26 +0000 (20:02 +0000)
Modules/datetimemodule.c

index 0fc403bd5f369636b1e35528a4b23657293e7ebb..66fb35541888dc3e95f839844ce94db1eace39bd 100644 (file)
@@ -2117,7 +2117,7 @@ static PyTypeObject PyDateTime_DeltaType = {
        0,                                              /* tp_init */
        0,                                              /* tp_alloc */
        delta_new,                                      /* tp_new */
-       _PyObject_Del,                                  /* tp_free */
+       PyObject_Del,                                   /* tp_free */
 };
 
 /*
@@ -2670,7 +2670,7 @@ static PyTypeObject PyDateTime_DateType = {
        0,                                              /* tp_init */
        0,                                              /* tp_alloc */
        date_new,                                       /* tp_new */
-       _PyObject_Del,                                  /* tp_free */
+       PyObject_Del,                                   /* tp_free */
 };
 
 /*
@@ -3441,7 +3441,7 @@ statichere PyTypeObject PyDateTime_TimeType = {
        0,                                      /* tp_init */
        0,                                      /* tp_alloc */
        time_new,                               /* tp_new */
-       _PyObject_Del,                          /* tp_free */
+       PyObject_Del,                           /* tp_free */
 };
 
 /*
@@ -4462,7 +4462,7 @@ statichere PyTypeObject PyDateTime_DateTimeType = {
        0,                                      /* tp_init */
        0,                                      /* tp_alloc */
        datetime_new,                           /* tp_new */
-       _PyObject_Del,                          /* tp_free */
+       PyObject_Del,                           /* tp_free */
 };
 
 /* ---------------------------------------------------------------------------