[Python-checkins] cpython (3.3): Fix indentation in doc example.

ezio.melotti python-checkins at python.org
Sun Nov 17 21:09:39 CET 2013


http://hg.python.org/cpython/rev/17e7aedc9a5d
changeset:   87216:17e7aedc9a5d
branch:      3.3
parent:      87212:7d6a9e7060c7
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Sun Nov 17 22:07:48 2013 +0200
summary:
  Fix indentation in doc example.

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