From: Ezio Melotti Date: Sun, 17 Nov 2013 20:07:48 +0000 (+0200) Subject: Fix indentation in doc example. X-Git-Tag: v3.4.0b1~220^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e65cb190a6997da99b695c8757a4a9ac57c6fffa;p=thirdparty%2FPython%2Fcpython.git Fix indentation in doc example. --- diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index 52e382e52d58..b1456ae57f9f 100644 --- a/Doc/tutorial/controlflow.rst +++ b/Doc/tutorial/controlflow.rst @@ -19,14 +19,14 @@ example:: >>> 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