summaryrefslogtreecommitdiff
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-08-09 18:01:38 +0200
committerÉric Araujo <merwok@netwok.org>2011-08-09 18:01:38 +0200
commiteb89b86e98a223405465d0a12a429c2144ed3d96 (patch)
tree17dd66f990ced23ab78c48e9c6be996c6fc534ec /Doc/tutorial
parentdafdda5e4020b55b6221f00d71772bf7d4aeedd6 (diff)
parent05eb9e1cf02ad4a4c9aa1e75f08667e34dae9a40 (diff)
downloadcpython-eb89b86e98a223405465d0a12a429c2144ed3d96.tar.gz
Branch merge
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 e33a59619a..cb9597fb41 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: