summaryrefslogtreecommitdiffstats
path: root/Doc/library/math.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/math.rst')
-rw-r--r--Doc/library/math.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index 2ecee89..5ce2ad2 100644
--- a/Doc/library/math.rst
+++ b/Doc/library/math.rst
@@ -406,7 +406,7 @@ Number-theoretic and representation functions
Roughly equivalent to::
- sum(itertools.starmap(operator.mul, zip(p, q, strict=True)))
+ sum(map(operator.mul, p, q, strict=True))
For float and mixed int/float inputs, the intermediate products
and sums are computed with extended precision.