[Python-checkins] cpython (merge 3.3 -> default): Merge indentation fix in doc example from 3.3.
ezio.melotti
python-checkins at python.org
Sun Nov 17 21:09:41 CET 2013
http://hg.python.org/cpython/rev/9b79eed3c16b
changeset: 87217:9b79eed3c16b
parent: 87214:f43f65038e2a
parent: 87216:17e7aedc9a5d
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Sun Nov 17 22:09:24 2013 +0200
summary:
Merge indentation fix in doc example from 3.3.
files:
Doc/tutorial/controlflow.rst | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -19,14 +19,14 @@
>>> x = int(input("Please enter an integer: "))
Please enter an integer: 42
>>> if x < 0:
- ... x = 0
- ... print('Negative changed to zero')
+ ... x = 0
+ ... print('Negative changed to zero')
... elif x == 0:
- ... print('Zero')
+ ... print('Zero')
... elif x == 1:
- ... print('Single')
+ ... print('Single')
... else:
- ... print('More')
+ ... print('More')
...
More
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list