Skip to content

Commit

Permalink
closes bpo-38648: Remove double tp_free slot in Python-ast.c. (python…
Browse files Browse the repository at this point in the history
…GH-17002)

This looks like a typo due to copy-paste.
  • Loading branch information
tekknolagi authored and benjaminp committed Oct 31, 2019
1 parent e835b31 commit bdac32e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Parser/asdl_c.py
Original file line number Diff line number Diff line change
Expand Up @@ -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},
};
Expand Down
1 change: 0 additions & 1 deletion Python/Python-ast.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bdac32e

Please sign in to comment.