LSR/env/lib/python3.6/site-packages/scipy/special/sf_error.py

16 lines
375 B
Python
Raw Normal View History

2020-06-04 17:24:47 +02:00
"""Warnings and Exceptions that can be raised by special functions."""
import warnings
class SpecialFunctionWarning(Warning):
"""Warning that can be emitted by special functions."""
pass
warnings.simplefilter("always", category=SpecialFunctionWarning)
class SpecialFunctionError(Exception):
"""Exception that can be raised by special functions."""
pass