summaryrefslogtreecommitdiffstats
path: root/Objects/listsort.txt
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-09-01 07:34:27 (GMT)
committerGeorg Brandl <georg@python.org>2009-09-01 07:34:27 (GMT)
commitc9a5a0e1650b264bdf75e63ecdb577a46adbfd4c (patch)
tree3114451bc01e7afc34d3d84369a0b77ba5d332ae /Objects/listsort.txt
parenta4c05a26a72d3613d9ffbdcc0985a9ec49060b73 (diff)
downloadcpython-c9a5a0e1650b264bdf75e63ecdb577a46adbfd4c.zip
cpython-c9a5a0e1650b264bdf75e63ecdb577a46adbfd4c.tar.gz
cpython-c9a5a0e1650b264bdf75e63ecdb577a46adbfd4c.tar.bz2
#6814: remove traces of xrange().
Diffstat (limited to 'Objects/listsort.txt')
-rw-r--r--Objects/listsort.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/listsort.txt b/Objects/listsort.txt
index 31a5445..47fec1d 100644
--- a/Objects/listsort.txt
+++ b/Objects/listsort.txt
@@ -606,7 +606,7 @@ from time import clock as now
def fill(n):
from random import random
- return [random() for i in xrange(n)]
+ return [random() for i in range(n)]
def mycmp(x, y):
global ncmp