mirror of https://github.com/python/cpython
Doc nit.
This commit is contained in:
parent
41ea8ae667
commit
d9404b5741
|
@ -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…
Reference in New Issue