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)
|
total = next(it)
|
||||||
yield total
|
yield total
|
||||||
for element in it:
|
for element in it:
|
||||||
total += element
|
total = total + element
|
||||||
yield total
|
yield total
|
||||||
|
|
||||||
.. versionadded:: 3.2
|
.. versionadded:: 3.2
|
||||||
|
|
Loading…
Reference in New Issue