summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-07-19 13:53:58 (GMT)
committerGeorg Brandl <georg@python.org>2008-07-19 13:53:58 (GMT)
commit7d4f39a2ba8dad10569ca450cc080e18ebf50cd0 (patch)
tree8a38e12b9ccd7c341fea8d11435bbde9594581d8 /Lib
parent8494d573b97f268e79500f5b19a36c8d8e050aac (diff)
downloadcpython-7d4f39a2ba8dad10569ca450cc080e18ebf50cd0.zip
cpython-7d4f39a2ba8dad10569ca450cc080e18ebf50cd0.tar.gz
cpython-7d4f39a2ba8dad10569ca450cc080e18ebf50cd0.tar.bz2
xrange -> range.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/EditorWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index de47350..6ce166d 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -289,7 +289,7 @@ class EditorWindow(object):
insertpt = int(self.text.index("iomark").split(".")[1])
else:
line = self.text.get("insert linestart", "insert lineend")
- for insertpt in xrange(len(line)):
+ for insertpt in range(len(line)):
if line[insertpt] not in (' ','\t'):
break
else: