diff options
author | Raymond Hettinger <python@rcn.com> | 2010-12-04 20:51:36 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2010-12-04 20:51:36 (GMT) |
commit | d9404b57411f7d2e0bb8333a22c805d28d0bb477 (patch) | |
tree | b6126acd808aceb2e0d61908866d77d3b7fa942b /Doc/library/itertools.rst | |
parent | 41ea8ae667625edd662bffc328efeec50a2d82f5 (diff) | |
download | cpython-d9404b57411f7d2e0bb8333a22c805d28d0bb477.zip cpython-d9404b57411f7d2e0bb8333a22c805d28d0bb477.tar.gz cpython-d9404b57411f7d2e0bb8333a22c805d28d0bb477.tar.bz2 |
Doc nit.
Diffstat (limited to 'Doc/library/itertools.rst')
-rw-r--r-- | Doc/library/itertools.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/itertools.rst b/Doc/library/itertools.rst index 3c9f334..2736263 100644 --- a/Doc/library/itertools.rst +++ b/Doc/library/itertools.rst @@ -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 |