summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-01-23 16:57:55 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-01-23 16:57:55 (GMT)
commitbd8ce79390a1d8dbfdb5dc1430d83cb4304e7d44 (patch)
tree4b66f5bf4bccea477ee098ab7615da30030e36da /Tools
parentff06671acfb6e60b52df93095134c24a16959334 (diff)
downloadcpython-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.py2
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]