
python-checkins at python
Aug 17, 2012, 11:52 PM
Post #1 of 1
(38 views)
Permalink
|
|
cpython (2.7): Fix typo in tutorial
|
|
http://hg.python.org/cpython/rev/332566c29ab4 changeset: 78639:332566c29ab4 branch: 2.7 parent: 78635:094423a65a4e user: Eli Bendersky <eliben [at] gmail> 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
|