summaryrefslogtreecommitdiffstats
path: root/Doc/faq
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-08-25 09:52:39 (GMT)
committerGeorg Brandl <georg@python.org>2011-08-25 09:52:39 (GMT)
commit2bb371b2bffd7a425170c9114e0c0c63367bf1b4 (patch)
treeb2141030571614b9dc4fb5e1676c3761997b24c3 /Doc/faq
parenta045c05878a44ba8458139e707f9abbf638a44e3 (diff)
parente1eef41a18301dad262193a8074060cda0964990 (diff)
downloadcpython-2bb371b2bffd7a425170c9114e0c0c63367bf1b4.zip
cpython-2bb371b2bffd7a425170c9114e0c0c63367bf1b4.tar.gz
cpython-2bb371b2bffd7a425170c9114e0c0c63367bf1b4.tar.bz2
Merge 3.2.
Diffstat (limited to 'Doc/faq')
-rw-r--r--Doc/faq/programming.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/faq/programming.rst b/Doc/faq/programming.rst
index 07e6818..8b2f047 100644
--- a/Doc/faq/programming.rst
+++ b/Doc/faq/programming.rst
@@ -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 ::