summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-08-08 19:45:24 (GMT)
committerGeorg Brandl <georg@python.org>2011-08-08 19:45:24 (GMT)
commit96598afac4b576b67503c9658810598d03fe4e4b (patch)
tree3137353c9ba87012c1761e8cce23aeb5d128d590 /Doc/tutorial
parent1a41a4114c7395389270d34ed302da2300f2060e (diff)
parentbdbdfb19783793b97743df15cc3ff4699a601b8e (diff)
downloadcpython-96598afac4b576b67503c9658810598d03fe4e4b.zip
cpython-96598afac4b576b67503c9658810598d03fe4e4b.tar.gz
cpython-96598afac4b576b67503c9658810598d03fe4e4b.tar.bz2
Merge with 3.2.
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/controlflow.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index e33a596..cb9597f 100644
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -184,6 +184,9 @@ following loop, which searches for prime numbers::
8 equals 2 * 4
9 equals 3 * 3
+(Yes, this is the correct code. Look closely: the ``else`` clause belongs to
+the :keyword:`for` loop, **not** the :keyword:`if` statement.)
+
.. _tut-pass: