mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Stopped using the old macro form of _PyObject_Del.
This commit is contained in:
parent
2820125935
commit
0490011075
1 changed files with 4 additions and 4 deletions
|
@ -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 */
|
||||
};
|
||||
|
||||
/* ---------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue