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

Bugfix candidate:  the current state of AutoIdent.py should be in 2.2.1.
This commit is contained in:
Tim Peters 2002-01-23 16:57:55 +00:00
parent ff06671acf
commit bd8ce79390

View file

@ -171,7 +171,7 @@ def smart_backspace_event(self, event):
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]