mirror of https://github.com/python/cpython.git
fix indentation
This commit is contained in:
parent
66b371e000
commit
b7149cad04
|
@ -1568,12 +1568,12 @@ symtable_visit_alias(struct symtable *st, alias_ty a)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (st->st_cur->ste_type != ModuleBlock) {
|
if (st->st_cur->ste_type != ModuleBlock) {
|
||||||
int lineno = st->st_cur->ste_lineno;
|
int lineno = st->st_cur->ste_lineno;
|
||||||
int col_offset = st->st_cur->ste_col_offset;
|
int col_offset = st->st_cur->ste_col_offset;
|
||||||
PyErr_SetString(PyExc_SyntaxError, IMPORT_STAR_WARNING);
|
PyErr_SetString(PyExc_SyntaxError, IMPORT_STAR_WARNING);
|
||||||
PyErr_SyntaxLocationEx(st->st_filename, lineno, col_offset);
|
PyErr_SyntaxLocationEx(st->st_filename, lineno, col_offset);
|
||||||
Py_DECREF(store_name);
|
Py_DECREF(store_name);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
st->st_cur->ste_unoptimized |= OPT_IMPORT_STAR;
|
st->st_cur->ste_unoptimized |= OPT_IMPORT_STAR;
|
||||||
Py_DECREF(store_name);
|
Py_DECREF(store_name);
|
||||||
|
|
Loading…
Reference in New Issue