summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2012-08-18 09:51:37 +0300
committerEli Bendersky <eliben@gmail.com>2012-08-18 09:51:37 +0300
commit2cc49745a5b552bf83700771230b08f32578f7c6 (patch)
tree21d40662cd49cf73972f191291d4affdb6be5617
parent6ee2187cdc6b84c4a41028099f19fe6efc4a7f6d (diff)
downloadcpython-git-2cc49745a5b552bf83700771230b08f32578f7c6.tar.gz
Fix typo in 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 0616613880..3d3af4e937 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)