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 | e65cb190a6997da99b695c8757a4a9ac57c6fffa (patch) | |
tree | d410325d72f140aa11a8d05d94e91a649ef78775 /Doc | |
parent | 46b4a5e51e632899e268a39330374f20af50a056 (diff) | |
download | cpython-e65cb190a6997da99b695c8757a4a9ac57c6fffa.zip cpython-e65cb190a6997da99b695c8757a4a9ac57c6fffa.tar.gz cpython-e65cb190a6997da99b695c8757a4a9ac57c6fffa.tar.bz2 |
Fix indentation in doc example.
Diffstat (limited to 'Doc')
-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 52e382e..b1456ae 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 |