From: Eli Bendersky Date: Sat, 18 Aug 2012 06:51:37 +0000 (+0300) Subject: Fix typo in tutorial X-Git-Tag: v2.7.4rc1~626 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2cc49745a5b552bf83700771230b08f32578f7c6;p=thirdparty%2FPython%2Fcpython.git Fix typo in tutorial --- diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index 0616613880a8..3d3af4e93749 100644 --- a/Doc/tutorial/controlflow.rst +++ b/Doc/tutorial/controlflow.rst @@ -167,7 +167,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)