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

Mailing List Archive: Python: Checkins

cpython (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 (38 views)
Permalink
cpython (3.2): tutorial typo fix

http://hg.python.org/cpython/rev/826b4d06b4f3
changeset: 78637:826b4d06b4f3
branch: 3.2
parent: 78633:ca5b36754892
user: Eli Bendersky <eliben [at] gmail>
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

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.