diff options
| author | Éric Araujo <merwok@netwok.org> | 2011-08-09 18:01:52 +0200 |
|---|---|---|
| committer | Éric Araujo <merwok@netwok.org> | 2011-08-09 18:01:52 +0200 |
| commit | a235510d2d07bbc5761f548dc64c86aaa37665ef (patch) | |
| tree | 0c5a65378389bdb840621fa947ad5b9f00d5756f /Doc/tutorial | |
| parent | f3f0a59edefcfdd7fb57566fa7a1d4fb08223c12 (diff) | |
| parent | a166e8131df4cc5ffb915739eb86405da7645b7c (diff) | |
| download | cpython-a235510d2d07bbc5761f548dc64c86aaa37665ef.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: |
