xrange -> range.

This commit is contained in:
Georg Brandl 2008-07-19 13:53:58 +00:00
parent 8494d573b9
commit 7d4f39a2ba
1 changed files with 1 additions and 1 deletions

View File

@ -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: