diff options
| 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 |
| commit | eb89b86e98a223405465d0a12a429c2144ed3d96 (patch) | |
| tree | 17dd66f990ced23ab78c48e9c6be996c6fc534ec /Doc/tutorial | |
| parent | dafdda5e4020b55b6221f00d71772bf7d4aeedd6 (diff) | |
| parent | 05eb9e1cf02ad4a4c9aa1e75f08667e34dae9a40 (diff) | |
| download | cpython-eb89b86e98a223405465d0a12a429c2144ed3d96.tar.gz | |
Branch merge
Diffstat (limited to 'Doc/tutorial')
| -rw-r--r-- | Doc/tutorial/controlflow.rst | 3 |
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: |
