closes bpo-38648: Remove double tp_free slot in Python-ast.c. (GH-17002)
This looks like a typo due to copy-paste.
This commit is contained in:
parent
e835b31d2b
commit
bdac32e9fe
|
@ -751,7 +751,6 @@ static PyType_Slot AST_type_slots[] = {
|
|||
{Py_tp_init, ast_type_init},
|
||||
{Py_tp_alloc, PyType_GenericAlloc},
|
||||
{Py_tp_new, PyType_GenericNew},
|
||||
{Py_tp_free, PyType_GenericNew},
|
||||
{Py_tp_free, PyObject_GC_Del},
|
||||
{0, 0},
|
||||
};
|
||||
|
|
|
@ -1244,7 +1244,6 @@ static PyType_Slot AST_type_slots[] = {
|
|||
{Py_tp_init, ast_type_init},
|
||||
{Py_tp_alloc, PyType_GenericAlloc},
|
||||
{Py_tp_new, PyType_GenericNew},
|
||||
{Py_tp_free, PyType_GenericNew},
|
||||
{Py_tp_free, PyObject_GC_Del},
|
||||
{0, 0},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue