mirror of
https://github.com/python/cpython.git
synced 2025-09-13 12:17:24 +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}
|
||||
>>> def reverse(data):
|
||||
for index in range(len(data)-1, -1, -1):
|
||||
yield data[index]
|
||||
for index in range(len(data)-1, -1, -1):
|
||||
yield data[index]
|
||||
|
||||
>>> for char in reverse('golf'):
|
||||
print char
|
||||
print char
|
||||
|
||||
f
|
||||
l
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue