Commit 3fa54383 authored by Georg Brandl's avatar Georg Brandl

Close #12838: fix range() call.

parent 71cb2301
......@@ -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 ::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment