Commit 651e4e9d authored by Georg Brandl's avatar Georg Brandl

xrange -> range.

parent cb5e25c4
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment