From: Georg Brandl Date: Sat, 19 Jul 2008 13:53:58 +0000 (+0000) Subject: xrange -> range. X-Git-Tag: v3.0b3~261 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7d4f39a2ba8dad10569ca450cc080e18ebf50cd0;p=thirdparty%2FPython%2Fcpython.git xrange -> range. --- diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py index de47350b21cb..6ce166d23998 100644 --- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -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: