mirror of https://github.com/python/cpython.git
parent
4509168dbf
commit
d91b0d6a65
|
@ -462,7 +462,7 @@ def classifyws(s, tabwidth):
|
||||||
effective = effective + 1
|
effective = effective + 1
|
||||||
elif ch == '\t':
|
elif ch == '\t':
|
||||||
raw = raw + 1
|
raw = raw + 1
|
||||||
effective = (effective / tabwidth + 1) * tabwidth
|
effective = (int(effective / tabwidth) + 1) * tabwidth
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
return raw, effective
|
return raw, effective
|
||||||
|
|
Loading…
Reference in New Issue