mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
xrange -> range.
This commit is contained in:
parent
8494d573b9
commit
7d4f39a2ba
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue