summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2012-08-18 06:50:09 (GMT)
committerEli Bendersky <eliben@gmail.com>2012-08-18 06:50:09 (GMT)
commit31a11902b3c2483998cee2573deb42ac9e0e24c0 (patch)
treeaee9dfd24b69753ce046987da834dca8e0cd05c9 /Doc
parent75fd22519f1c69f232b36b81e3bbe55b58b98aea (diff)
downloadcpython-31a11902b3c2483998cee2573deb42ac9e0e24c0.zip
cpython-31a11902b3c2483998cee2573deb42ac9e0e24c0.tar.gz
cpython-31a11902b3c2483998cee2573deb42ac9e0e24c0.tar.bz2
tutorial typo fix
Diffstat (limited to 'Doc')
-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)