mirror of
https://github.com/python/cpython
synced 2024-09-05 16:38:56 +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
|
@ -751,7 +751,6 @@ def visitModule(self, mod):
|
|||
{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},
|
||||
};
|
||||
|
|
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…
Reference in a new issue