mirror of
https://github.com/python/cpython.git
synced 2025-09-14 04:37:29 +00:00
Fix whitespace in example
This commit is contained in:
parent
9edae346dd
commit
16434b5e25
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue