From: David Carlier Date: Tue, 18 Jun 2019 06:36:34 +0000 (+0100) Subject: remove dead code (GH-14104) X-Git-Tag: v3.9.0a1~1239 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9bbece9d7a9d6d38886abeb248e34c96bc08576c;p=thirdparty%2FPython%2Fcpython.git remove dead code (GH-14104) default case ought to handle the "unexpected". --- diff --git a/Python/ast.c b/Python/ast.c index 2a5941572148..16895ce62ec0 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