INNER CODE UNIT · Python
new_n
Cooler2/ApusGameEngine · tools/normalize_indent.py:242
new_n = max(0, old_n - r) * 2
new_l, fl = _apply_indent(l, old_n, new_n, flag_above)
new_uses_indent = get_indent(new_l) + 2
in_uses = True
if ';' in stripped:
in_uses = False
elif in_uses:
if not stripped:
new_l, fl = l, False
else:
new_l = ' ' * new_uses_indent + stripped
fl = False
if ';' in stripped and not stripped.startswith('//'):
in_uses = False
# --- nested-proc correction ---
elif i in reductions: