Skip to content

Commit 4b980f4

Browse files
committed
Consistent notation
1 parent d5a1a04 commit 4b980f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/itertools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ and :term:`generators <generator>` which incur interpreter overhead.
850850

851851
def running_mean(iterable):
852852
"Yield the average of all values seen so far."
853-
# running_mean([8.5, 9.5, 7.5, 6.5]) -> 8.5 9.0 8.5 8.0
853+
# running_mean([8.5, 9.5, 7.5, 6.5]) 8.5 9.0 8.5 8.0
854854
return map(truediv, accumulate(iterable), count(1))
855855

856856
def repeatfunc(function, times=None, *args):

0 commit comments

Comments
 (0)