From 9bbece9d7a9d6d38886abeb248e34c96bc08576c Mon Sep 17 00:00:00 2001 From: David Carlier Date: Tue, 18 Jun 2019 07:36:34 +0100 Subject: [PATCH] remove dead code (GH-14104) default case ought to handle the "unexpected". --- Python/ast.c | 3 --- 1 file changed, 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 -- 2.40.0