diff options
author | Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com> | 2020-03-04 19:16:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-04 16:16:46 +0000 |
commit | d82e469048e0e034d8c0020cd33b733be1adf68b (patch) | |
tree | 169c91ab5f25d4f8e0b9ceb8a4c9800428cf82b7 /Python/compile.c | |
parent | 702e09fd0ad72b248b5adfa0fcfdb58600be77f6 (diff) | |
download | cpython-d82e469048e0e034d8c0020cd33b733be1adf68b.tar.gz cpython-d82e469048e0e034d8c0020cd33b733be1adf68b.zip |
bpo-39639: Remove the AST "Suite" node and associated code (GH-18513)
The AST "Suite" node is no longer used and it can be removed from the ASDL definition and related structures (compiler, visitors, ...).
Co-Authored-By: Victor Stinner <vstinner@python.org>
Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com>
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/compile.c b/Python/compile.c index bf8c8109d07..f603e3d29e5 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -1862,10 +1862,6 @@ compiler_mod(struct compiler *c, mod_ty mod) VISIT_IN_SCOPE(c, expr, mod->v.Expression.body); addNone = 0; break; - case Suite_kind: - PyErr_SetString(PyExc_SystemError, - "suite should not be possible"); - return 0; default: PyErr_Format(PyExc_SystemError, "module kind %d should not be possible", |