mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
xrange -> range.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user