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

smart_backspace_event(): remove now-pointless int() call.

Bugfix candidate:  the current state of AutoIdent.py should be in 2.2.1.
üst ff06671a
......@@ -171,7 +171,7 @@ class AutoIndent:
expand, tabwidth = string.expandtabs, self.tabwidth
have = len(expand(chars, tabwidth))
assert have > 0
want = int((have - 1) // self.indentwidth) * self.indentwidth
want = ((have - 1) // self.indentwidth) * self.indentwidth
ncharsdeleted = 0
while 1:
chars = chars[:-1]
......
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