mirror of
https://github.com/python/cpython.git
synced 2025-07-19 09:15:34 +00:00
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
2 changed files with 0 additions and 2 deletions
1
Python/Python-ast.c
generated
1
Python/Python-ast.c
generated
|
@ -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…
Add table
Add a link
Reference in a new issue