projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
201bc2d
)
remove dead code (GH-14104)
author
David Carlier
<dcarlier@afilias.info>
Tue, 18 Jun 2019 06:36:34 +0000
(07:36 +0100)
committer
Inada Naoki
<songofacandy@gmail.com>
Tue, 18 Jun 2019 06:36:34 +0000
(15:36 +0900)
default case ought to handle the "unexpected".
Python/ast.c
patch
|
blob
|
history
diff --git
a/Python/ast.c
b/Python/ast.c
index 2a59415721485e3003b9a2cbd6ff5dbb1e30c16f..16895ce62ec01b17d9ee24f9aed50180c45213b5 100644
(file)
--- 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