mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Doc nit.
This commit is contained in:
parent
41ea8ae667
commit
d9404b5741
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ loops that truncate the stream.
|
|||
total = next(it)
|
||||
yield total
|
||||
for element in it:
|
||||
total += element
|
||||
total = total + element
|
||||
yield total
|
||||
|
||||
.. versionadded:: 3.2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue