File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1576,12 +1576,12 @@ symtable_visit_alias(struct symtable *st, alias_ty a)
15761576 }
15771577 else {
15781578 if (st -> st_cur -> ste_type != ModuleBlock ) {
1579- int lineno = st -> st_cur -> ste_lineno ;
1580- int col_offset = st -> st_cur -> ste_col_offset ;
1581- PyErr_SetString (PyExc_SyntaxError , IMPORT_STAR_WARNING );
1582- PyErr_SyntaxLocationEx (st -> st_filename , lineno , col_offset );
1583- Py_DECREF (store_name );
1584- return 0 ;
1579+ int lineno = st -> st_cur -> ste_lineno ;
1580+ int col_offset = st -> st_cur -> ste_col_offset ;
1581+ PyErr_SetString (PyExc_SyntaxError , IMPORT_STAR_WARNING );
1582+ PyErr_SyntaxLocationEx (st -> st_filename , lineno , col_offset );
1583+ Py_DECREF (store_name );
1584+ return 0 ;
15851585 }
15861586 st -> st_cur -> ste_unoptimized |= OPT_IMPORT_STAR ;
15871587 Py_DECREF (store_name );
You can’t perform that action at this time.
0 commit comments