Commit 852eea20 authored by Georg Brandl's avatar Georg Brandl

Close #12838: fix range() call.

parent b897168e
......@@ -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