diff options
author | Max Bernstein <tekknolagi@users.noreply.github.com> | 2019-10-31 01:08:06 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2019-10-31 01:08:06 (GMT) |
commit | bdac32e9fe25fdb97a7172a93aabd1ffead89462 (patch) | |
tree | 9ef9970bc1a3af8f1c10be3748b186f3e565900f /Python/Python-ast.c | |
parent | e835b31d2b212c3c7820364398979cae2a9740b2 (diff) | |
download | cpython-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 'Python/Python-ast.c')
-rw-r--r-- | Python/Python-ast.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c index e2c703d..d5465d7 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}, }; |