Discussion:
[Python-3000-checkins] r65140 - python/branches/py3k/Lib/idlelib/EditorWindow.py
georg.brandl
2008-07-19 13:53:58 UTC
Permalink
Author: georg.brandl
Date: Sat Jul 19 15:53:58 2008
New Revision: 65140

Log:
xrange -> range.


Modified:
python/branches/py3k/Lib/idlelib/EditorWindow.py

Modified: python/branches/py3k/Lib/idlelib/EditorWindow.py
==============================================================================
--- python/branches/py3k/Lib/idlelib/EditorWindow.py (original)
+++ python/branches/py3k/Lib/idlelib/EditorWindow.py Sat Jul 19 15:53:58 2008
@@ -289,7 +289,7 @@
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...