diff options
-rwxr-xr-x | Parser/asdl_c.py | 1 | ||||
-rw-r--r-- | Python/Python-ast.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py index 3a821cc926..52495e9b45 100755 --- a/Parser/asdl_c.py +++ b/Parser/asdl_c.py @@ -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}, }; diff --git a/Python/Python-ast.c b/Python/Python-ast.c index e2c703d815..d5465d795c 100644 --- a/Python/Python-ast.c +++ b/Python/Python-ast.c @@ -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}, }; |