1. python_mirrors
  2. sandbox/antoine

Commits

Eli Bendersky  committed 3fba718 Draft Merge

Merge 3.2: tutorial typo fix

  • Participants
  • Parent commits 7012f6a, 826b4d0
  • Branches default

Comments (0)

Files changed (1)

File Doc/tutorial/controlflow.rst

View file
 iteration of the loop::
 
     >>> for num in range(2, 10):
-    ...     if x % 2 == 0:
+    ...     if num % 2 == 0:
     ...         print("Found an even number", num)
     ...         continue
     ...     print("Found a number", num)