Commit 4645bb61 authored by Ezio Melotti's avatar Ezio Melotti

Fix indentation in doc example.

parent 65162a7c
...@@ -19,14 +19,14 @@ example:: ...@@ -19,14 +19,14 @@ example::
>>> x = int(raw_input("Please enter an integer: ")) >>> x = int(raw_input("Please enter an integer: "))
Please enter an integer: 42 Please enter an integer: 42
>>> if x < 0: >>> if x < 0:
... x = 0 ... x = 0
... print 'Negative changed to zero' ... print 'Negative changed to zero'
... elif x == 0: ... elif x == 0:
... print 'Zero' ... print 'Zero'
... elif x == 1: ... elif x == 1:
... print 'Single' ... print 'Single'
... else: ... else:
... print 'More' ... print 'More'
... ...
More More
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment