[Python-checkins] python/dist/src/Modules datetimemodule.c,1.62,1.63
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Fri, 16 May 2003 15:44:08 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv1671/Modules
Modified Files:
datetimemodule.c
Log Message:
Turns out there wasn't a need to define tp_free for any of the types here.
Index: datetimemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/datetimemodule.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -C2 -d -r1.62 -r1.63
*** datetimemodule.c 16 May 2003 20:02:26 -0000 1.62
--- datetimemodule.c 16 May 2003 22:44:06 -0000 1.63
***************
*** 2118,2122 ****
0, /* tp_alloc */
delta_new, /* tp_new */
! PyObject_Del, /* tp_free */
};
--- 2118,2122 ----
0, /* tp_alloc */
delta_new, /* tp_new */
! 0, /* tp_free */
};
***************
*** 2671,2675 ****
0, /* tp_alloc */
date_new, /* tp_new */
! PyObject_Del, /* tp_free */
};
--- 2671,2675 ----
0, /* tp_alloc */
date_new, /* tp_new */
! 0, /* tp_free */
};
***************
*** 3442,3446 ****
0, /* tp_alloc */
time_new, /* tp_new */
! PyObject_Del, /* tp_free */
};
--- 3442,3446 ----
0, /* tp_alloc */
time_new, /* tp_new */
! 0, /* tp_free */
};
***************
*** 4463,4467 ****
0, /* tp_alloc */
datetime_new, /* tp_new */
! PyObject_Del, /* tp_free */
};
--- 4463,4467 ----
0, /* tp_alloc */
datetime_new, /* tp_new */
! 0, /* tp_free */
};