Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Checkins

cpython (merge 3.2 -> default): Merge 3.2: tutorial typo fix

 

 

Python checkins RSS feed   Index | Next | Previous | View Threaded


python-checkins at python

Aug 17, 2012, 11:51 PM

Post #1 of 1 (36 views)
Permalink
cpython (merge 3.2 -> default): Merge 3.2: tutorial typo fix

http://hg.python.org/cpython/rev/3fba718e46e5
changeset: 78638:3fba718e46e5
parent: 78636:7012f6a74f66
parent: 78637:826b4d06b4f3
user: Eli Bendersky <eliben [at] gmail>
date: Sat Aug 18 09:50:32 2012 +0300
summary:
Merge 3.2: 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

Python checkins RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.