Kaydet (Commit) 4509168d authored tarafından Tim Peters's avatar Tim Peters

classifyws(): Fix a "/" to work under -Qnew (as well as without it).

Bugfix candidate!
üst 685d46fe
......@@ -495,7 +495,7 @@ def classifyws(s, tabwidth):
effective = effective + 1
elif ch == '\t':
raw = raw + 1
effective = (effective / tabwidth + 1) * tabwidth
effective = (int(effective / tabwidth) + 1) * tabwidth
else:
break
return raw, effective
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment