From 31a11902b3c2483998cee2573deb42ac9e0e24c0 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Sat, 18 Aug 2012 09:50:09 +0300 Subject: tutorial typo fix --- Doc/tutorial/controlflow.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index 3c0f88e..1564e96 100644 --- a/Doc/tutorial/controlflow.rst +++ b/Doc/tutorial/controlflow.rst @@ -195,7 +195,7 @@ The :keyword:`continue` statement, also borrowed from C, continues with the next 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) -- cgit v0.12