From bd8ce79390a1d8dbfdb5dc1430d83cb4304e7d44 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Wed, 23 Jan 2002 16:57:55 +0000 Subject: smart_backspace_event(): remove now-pointless int() call. Bugfix candidate: the current state of AutoIdent.py should be in 2.2.1. --- Tools/idle/AutoIndent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/idle/AutoIndent.py b/Tools/idle/AutoIndent.py index 15b5011..f8bb847 100644 --- a/Tools/idle/AutoIndent.py +++ b/Tools/idle/AutoIndent.py @@ -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] -- cgit v0.12