Commits

Georg Brandl  committed 0e5433c

Confirm that the prime example is actually correct. We get so many complaints about a "buggy example" on docs@python, let us hope this cuts them in half at least.

  • Participants
  • Parent commits 41b8168
  • Branches 3.2

Comments (0)

Files changed (1)

File Doc/tutorial/controlflow.rst

    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: