diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-11-17 20:07:48 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-11-17 20:07:48 (GMT) |
commit | 4645bb61fa27638f08c744cc48d9432a445fbe21 (patch) | |
tree | 9ad061fb713dc8650254f9c05832a4e488553257 /Doc/tutorial | |
parent | 65162a7ccacb12801121fa7369fd0d406e8c6f64 (diff) | |
download | cpython-4645bb61fa27638f08c744cc48d9432a445fbe21.zip cpython-4645bb61fa27638f08c744cc48d9432a445fbe21.tar.gz cpython-4645bb61fa27638f08c744cc48d9432a445fbe21.tar.bz2 |
Fix indentation in doc example.
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/controlflow.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst index 4de9ec9..8ffaf3f 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 |