diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-01-23 16:57:55 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-01-23 16:57:55 (GMT) |
commit | bd8ce79390a1d8dbfdb5dc1430d83cb4304e7d44 (patch) | |
tree | 4b66f5bf4bccea477ee098ab7615da30030e36da /Tools | |
parent | ff06671acfb6e60b52df93095134c24a16959334 (diff) | |
download | cpython-bd8ce79390a1d8dbfdb5dc1430d83cb4304e7d44.zip cpython-bd8ce79390a1d8dbfdb5dc1430d83cb4304e7d44.tar.gz cpython-bd8ce79390a1d8dbfdb5dc1430d83cb4304e7d44.tar.bz2 |
smart_backspace_event(): remove now-pointless int() call.
Bugfix candidate: the current state of AutoIdent.py should be in 2.2.1.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/idle/AutoIndent.py | 2 |
1 files changed, 1 insertions, 1 deletions
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] |