mirror of
https://github.com/python/cpython
synced 2026-09-29 11:15:30 +03: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