Commit 16434b5e authored by Raymond Hettinger's avatar Raymond Hettinger

Fix whitespace in example

parent 9edae346
...@@ -4315,11 +4315,11 @@ be trivially easy to create: ...@@ -4315,11 +4315,11 @@ be trivially easy to create:
\begin{verbatim} \begin{verbatim}
>>> def reverse(data): >>> def reverse(data):
for index in range(len(data)-1, -1, -1): for index in range(len(data)-1, -1, -1):
yield data[index] yield data[index]
>>> for char in reverse('golf'): >>> for char in reverse('golf'):
print char print char
f f
l l
......
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