[Python-3000-checkins] r65140 - python/branches/py3k/Lib/idlelib/EditorWindow.py

georg.brandl python-3000-checkins at python.org
Sat Jul 19 15:53:58 CEST 2008


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:


More information about the Python-3000-checkins mailing list