summaryrefslogtreecommitdiffstats
path: root/Python/symtable.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-09-15 01:50:53 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-09-15 01:50:53 (GMT)
commit5f75502a2ed490071514ab0361e1b406a7405de1 (patch)
tree500bc57bf5f2b3aa7337f651670a397aa391d358 /Python/symtable.c
parent12c8855d0969fbb776ab5ba9a031e058b6ccf5bf (diff)
downloadcpython-5f75502a2ed490071514ab0361e1b406a7405de1.zip
cpython-5f75502a2ed490071514ab0361e1b406a7405de1.tar.gz
cpython-5f75502a2ed490071514ab0361e1b406a7405de1.tar.bz2
Issue #24366: Fix indentation
Backports changes by Victor Stinner, Hirokazu Yamamoto, li4ick and Benjamin Peterson.
Diffstat (limited to 'Python/symtable.c')
-rw-r--r--Python/symtable.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Python/symtable.c b/Python/symtable.c
index 137f12c..3b4247b 100644
--- a/Python/symtable.c
+++ b/Python/symtable.c
@@ -1421,11 +1421,11 @@ symtable_visit_alias(struct symtable *st, alias_ty a)
}
else {
if (st->st_cur->ste_type != ModuleBlock) {
- int lineno = st->st_cur->ste_lineno;
- if (!symtable_warn(st, IMPORT_STAR_WARNING, lineno)) {
- Py_DECREF(store_name);
- return 0;
- }
+ int lineno = st->st_cur->ste_lineno;
+ if (!symtable_warn(st, IMPORT_STAR_WARNING, lineno)) {
+ Py_DECREF(store_name);
+ return 0;
+ }
}
st->st_cur->ste_unoptimized |= OPT_IMPORT_STAR;
Py_DECREF(store_name);