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 d5d84f7..be25ac3 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -2386,10 +2386,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) */ |