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, 2 insertions, 0 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst
index 98c5b33..5d6f951 100644
--- a/Doc/library/math.rst
+++ b/Doc/library/math.rst
@@ -77,6 +77,8 @@ Number-theoretic and representation functions
.. function:: fsum(iterable)
+.. testsetup::
+ >>> from math import fsum
Return an accurate floating point sum of values in the iterable. Avoids
loss of precision by tracking multiple intermediate partial sums::