Close #12838: fix range() call.

This commit is contained in:
Georg Brandl 2011-08-25 11:52:26 +02:00
parent 175eb995d3
commit e1eef41a18

View file

@ -171,7 +171,7 @@ tick of the interpreter's mainloop using highly optimized C implementations.
Thus to get the same effect as::
L2 = []
for i in range[3]:
for i in range(3):
L2.append(L1[i])
it is much shorter and far faster to use ::