mirror of https://github.com/python/cpython.git
PyObject_GC_Del can now be used as a function designator.
This commit is contained in:
parent
aa769ae468
commit
99b5d28467
|
@ -1127,5 +1127,5 @@ PyTypeObject PyProperty_Type = {
|
|||
property_init, /* tp_init */
|
||||
PyType_GenericAlloc, /* tp_alloc */
|
||||
PyType_GenericNew, /* tp_new */
|
||||
_PyObject_GC_Del, /* tp_free */
|
||||
PyObject_GC_Del, /* tp_free */
|
||||
};
|
||||
|
|
|
@ -1714,7 +1714,7 @@ PyTypeObject PyList_Type = {
|
|||
(initproc)list_init, /* tp_init */
|
||||
PyType_GenericAlloc, /* tp_alloc */
|
||||
PyType_GenericNew, /* tp_new */
|
||||
_PyObject_GC_Del, /* tp_free */
|
||||
PyObject_GC_Del, /* tp_free */
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -237,5 +237,5 @@ PyTypeObject PyModule_Type = {
|
|||
(initproc)module_init, /* tp_init */
|
||||
PyType_GenericAlloc, /* tp_alloc */
|
||||
PyType_GenericNew, /* tp_new */
|
||||
_PyObject_GC_Del, /* tp_free */
|
||||
PyObject_GC_Del, /* tp_free */
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue