[Python-checkins] cpython (3.2): tutorial typo fix
eli.bendersky
python-checkins at python.org
Sat Aug 18 08:51:36 CEST 2012
http://hg.python.org/cpython/rev/826b4d06b4f3
changeset: 78637:826b4d06b4f3
branch: 3.2
parent: 78633:ca5b36754892
user: Eli Bendersky <eliben at gmail.com>
date: Sat Aug 18 09:50:09 2012 +0300
summary:
tutorial typo fix
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
@@ -195,7 +195,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