Commit d9404b57 authored by Raymond Hettinger's avatar Raymond Hettinger

Doc nit.

parent 41ea8ae6
...@@ -96,7 +96,7 @@ loops that truncate the stream. ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment