Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9bbece9

Browse files
David Carliermethane
authored andcommitted
remove dead code (GH-14104)
default case ought to handle the "unexpected".
1 parent 201bc2d commit 9bbece9

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Python/ast.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3684,9 +3684,6 @@ alias_for_import_name(struct compiling *c, const node *n, int store)
36843684
"unexpected import name: %d", TYPE(n));
36853685
return NULL;
36863686
}
3687-
3688-
PyErr_SetString(PyExc_SystemError, "unhandled import name condition");
3689-
return NULL;
36903687
}
36913688

36923689
static stmt_ty

0 commit comments

Comments
 (0)