summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2012-08-18 06:50:32 (GMT)
committerEli Bendersky <eliben@gmail.com>2012-08-18 06:50:32 (GMT)
commit8c601b0b850a32c49cf3a939f3641c3d67269d8e (patch)
tree5fa23ff620a9946de47056e5790101c7a405e668 /Doc/tutorial
parenta1b0f6d9bedf2de4ee182ea9d70aae8ac9ce7659 (diff)
parent31a11902b3c2483998cee2573deb42ac9e0e24c0 (diff)
downloadcpython-8c601b0b850a32c49cf3a939f3641c3d67269d8e.zip
cpython-8c601b0b850a32c49cf3a939f3641c3d67269d8e.tar.gz
cpython-8c601b0b850a32c49cf3a939f3641c3d67269d8e.tar.bz2
Merge 3.2: tutorial typo fix
Diffstat (limited to 'Doc/tutorial')
-rw-r--r--Doc/tutorial/controlflow.rst2
1 files changed, 1 insertions, 1 deletions
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)