[Python-checkins] cpython (2.7): Fix typo in tutorial
eli.bendersky
python-checkins at python.org
Sat Aug 18 08:52:38 CEST 2012
http://hg.python.org/cpython/rev/332566c29ab4
changeset: 78639:332566c29ab4
branch: 2.7
parent: 78635:094423a65a4e
user: Eli Bendersky <eliben at gmail.com>
date: Sat Aug 18 09:51:37 2012 +0300
summary:
Fix typo in tutorial
files:
Doc/tutorial/controlflow.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -167,7 +167,7 @@
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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list