diff options
author | David Carlier <dcarlier@afilias.info> | 2019-06-18 06:36:34 (GMT) |
---|---|---|
committer | Inada Naoki <songofacandy@gmail.com> | 2019-06-18 06:36:34 (GMT) |
commit | 9bbece9d7a9d6d38886abeb248e34c96bc08576c (patch) | |
tree | 9429d070218cbafe504859e801b60a5cd86a8b45 | |
parent | 201bc2d18b60adb05810d2a6ab396047bc527088 (diff) | |
download | cpython-9bbece9d7a9d6d38886abeb248e34c96bc08576c.zip cpython-9bbece9d7a9d6d38886abeb248e34c96bc08576c.tar.gz cpython-9bbece9d7a9d6d38886abeb248e34c96bc08576c.tar.bz2 |
remove dead code (GH-14104)
default case ought to handle the "unexpected".
-rw-r--r-- | Python/ast.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/ast.c b/Python/ast.c index 2a59415..16895ce 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -3684,9 +3684,6 @@ alias_for_import_name(struct compiling *c, const node *n, int store) "unexpected import name: %d", TYPE(n)); return NULL; } - - PyErr_SetString(PyExc_SystemError, "unhandled import name condition"); - return NULL; } static stmt_ty |