From: David Carlier Date: Tue, 18 Jun 2019 06:36:34 +0000 (+0100) Subject: remove dead code (GH-14104) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9bbece9d7a9d6d38886abeb248e34c96bc08576c;p=python remove dead code (GH-14104) default case ought to handle the "unexpected". --- 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