Decorator
Useful utility decorators.
- diofant.utilities.decorator.conserve_mpmath_dps(func)[source]
After the function finishes, resets the value of mpmath.mp.dps to the value it had before the function was run.
Useful utility decorators.
After the function finishes, resets the value of mpmath.mp.dps to the value it had before the function was run.