From 4645bb61fa27638f08c744cc48d9432a445fbe21 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sun, 17 Nov 2013 22:07:48 +0200 Subject: [PATCH] Fix indentation in doc example. --- Doc/tutorial/controlflow.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index 4de9ec927f..8ffaf3f07c 100644 --- a/Doc/tutorial/controlflow.rst +++ b/Doc/tutorial/controlflow.rst @@ -19,14 +19,14 @@ example:: >>> x = int(raw_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 -- 2.50.1