summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorMax Bernstein <tekknolagi@users.noreply.github.com>2019-10-31 01:08:06 (GMT)
committerBenjamin Peterson <benjamin@python.org>2019-10-31 01:08:06 (GMT)
commitbdac32e9fe25fdb97a7172a93aabd1ffead89462 (patch)
tree9ef9970bc1a3af8f1c10be3748b186f3e565900f /Parser
parente835b31d2b212c3c7820364398979cae2a9740b2 (diff)
downloadcpython-bdac32e9fe25fdb97a7172a93aabd1ffead89462.zip
cpython-bdac32e9fe25fdb97a7172a93aabd1ffead89462.tar.gz
cpython-bdac32e9fe25fdb97a7172a93aabd1ffead89462.tar.bz2
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 'Parser')
-rwxr-xr-xParser/asdl_c.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py
index 3a821cc..52495e9 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},
};