File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1568,12 +1568,12 @@ symtable_visit_alias(struct symtable *st, alias_ty a)
15681568 }
15691569 else {
15701570 if (st -> st_cur -> ste_type != ModuleBlock ) {
1571- int lineno = st -> st_cur -> ste_lineno ;
1572- int col_offset = st -> st_cur -> ste_col_offset ;
1573- PyErr_SetString (PyExc_SyntaxError , IMPORT_STAR_WARNING );
1574- PyErr_SyntaxLocationEx (st -> st_filename , lineno , col_offset );
1575- Py_DECREF (store_name );
1576- return 0 ;
1571+ int lineno = st -> st_cur -> ste_lineno ;
1572+ int col_offset = st -> st_cur -> ste_col_offset ;
1573+ PyErr_SetString (PyExc_SyntaxError , IMPORT_STAR_WARNING );
1574+ PyErr_SyntaxLocationEx (st -> st_filename , lineno , col_offset );
1575+ Py_DECREF (store_name );
1576+ return 0 ;
15771577 }
15781578 st -> st_cur -> ste_unoptimized |= OPT_IMPORT_STAR ;
15791579 Py_DECREF (store_name );
You can’t perform that action at this time.
0 commit comments