pulse2percept.utils.deprecation¶
Functions
is_deprecated (func) |
Helper to check if func is wrapped by the deprecated decorator |
Classes
deprecated ([alt_func, deprecated_version, …]) |
Decorator to mark deprecated functions and classes with a warning. |
-
class
pulse2percept.utils.deprecation.
deprecated
(alt_func=None, deprecated_version=None, removed_version=None)[source]¶ Decorator to mark deprecated functions and classes with a warning.
See also
Adapted from https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/utils/deprecation.py.
Parameters: