aboutsummaryrefslogtreecommitdiff
path: root/Python/ast.c
diff options
context:
space:
mode:
authorDavid Carlier <dcarlier@afilias.info>2019-06-18 07:36:34 +0100
committerInada Naoki <songofacandy@gmail.com>2019-06-18 15:36:34 +0900
commit9bbece9d7a9d6d38886abeb248e34c96bc08576c (patch)
tree9429d070218cbafe504859e801b60a5cd86a8b45 /Python/ast.c
parent201bc2d18b60adb05810d2a6ab396047bc527088 (diff)
downloadcpython3-9bbece9d7a9d6d38886abeb248e34c96bc08576c.tar.gz
remove dead code (GH-14104)
default case ought to handle the "unexpected".
Diffstat (limited to 'Python/ast.c')
-rw-r--r--Python/ast.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/ast.c b/Python/ast.c
index 2a59415721..16895ce62e 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