[Python-checkins] r87065 - python/branches/py3k/Doc/library/itertools.rst

raymond.hettinger python-checkins at python.org
Sat Dec 4 21:51:36 CET 2010


Author: raymond.hettinger
Date: Sat Dec  4 21:51:36 2010
New Revision: 87065

Log:
Doc nit.

Modified:
   python/branches/py3k/Doc/library/itertools.rst

Modified: python/branches/py3k/Doc/library/itertools.rst
==============================================================================
--- python/branches/py3k/Doc/library/itertools.rst	(original)
+++ python/branches/py3k/Doc/library/itertools.rst	Sat Dec  4 21:51:36 2010
@@ -96,7 +96,7 @@
             total = next(it)
             yield total
             for element in it:
-                total += element
+                total = total + element
                 yield total
 
     .. versionadded:: 3.2


More information about the Python-checkins mailing list