Close #12838: fix range() call.

This commit is contained in:
Georg Brandl 2011-08-25 11:52:26 +02:00
parent 8a9369bfa4
commit eacada8656
1 changed files with 1 additions and 1 deletions

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 ::