Commit a670fcc6 authored by Łukasz Langa's avatar Łukasz Langa

math.fsum docs did not show up because of a misplaced testsetup directive

parent 2f78f0e1
......@@ -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::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment