summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorMax Bernstein <tekknolagi@users.noreply.github.com>2019-10-30 18:08:06 -0700
committerBenjamin Peterson <benjamin@python.org>2019-10-30 18:08:06 -0700
commitbdac32e9fe25fdb97a7172a93aabd1ffead89462 (patch)
tree9ef9970bc1a3af8f1c10be3748b186f3e565900f /Python/Python-ast.c
parente835b31d2b212c3c7820364398979cae2a9740b2 (diff)
downloadcpython-git-bdac32e9fe25fdb97a7172a93aabd1ffead89462.tar.gz
closes bpo-38648: Remove double tp_free slot in Python-ast.c. (GH-17002)
This looks like a typo due to copy-paste.
Diffstat (limited to 'Python/Python-ast.c')
-rw-r--r--Python/Python-ast.c1
1 files changed, 0 insertions, 1 deletions
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},
};