diff options
-rw-r--r-- | Doc/library/math.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/math.rst b/Doc/library/math.rst index 57d7762..1df48fc 100644 --- a/Doc/library/math.rst +++ b/Doc/library/math.rst @@ -5,6 +5,9 @@ .. module:: math :synopsis: Mathematical functions (sin() etc.). +.. testsetup:: + + from math import fsum This module is always available. It provides access to the mathematical functions defined by the C standard. @@ -82,8 +85,6 @@ 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:: |