diff options
Diffstat (limited to 'Python/ast.c')
-rw-r--r-- | Python/ast.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/ast.c b/Python/ast.c index e14ff3a3da..8a317b880d 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -2413,10 +2413,6 @@ ast_for_import_stmt(struct compiling *c, const node *n) /* from ... import * */ n = CHILD(n, idx); n_children = 1; - if (ndots) { - ast_error(n, "'import *' not allowed with 'from .'"); - return NULL; - } break; case LPAR: /* from ... import (x, y, z) */ |