Skip to content

Commit bdac32e

Browse files
tekknolagibenjaminp
authored andcommitted
closes bpo-38648: Remove double tp_free slot in Python-ast.c. (GH-17002)
This looks like a typo due to copy-paste.
1 parent e835b31 commit bdac32e

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Parser/asdl_c.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,6 @@ def visitModule(self, mod):
751751
{Py_tp_init, ast_type_init},
752752
{Py_tp_alloc, PyType_GenericAlloc},
753753
{Py_tp_new, PyType_GenericNew},
754-
{Py_tp_free, PyType_GenericNew},
755754
{Py_tp_free, PyObject_GC_Del},
756755
{0, 0},
757756
};

Python/Python-ast.c

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)