Commits

Raymond Hettinger  committed ec79aaf

Doc nit.

  • Participants
  • Parent commits 2f5cd18

Comments (0)

Files changed (1)

File Doc/library/itertools.rst

             total = next(it)
             yield total
             for element in it:
-                total += element
+                total = total + element
                 yield total
 
     .. versionadded:: 3.2