deprecated

deprecated

class skimage.data.deprecated(alt_func=None, behavior='warn') [source]

Bases: object

Decorator to mark deprecated functions with warning.

Adapted from <http://wiki.python.org/moin/PythonDecoratorLibrary>.

Parameters:

alt_func : str

If given, tell user what function to use instead.

behavior : {‘warn’, ‘raise’}

Behavior during call to deprecated function: ‘warn’ = warn user that function is deprecated; ‘raise’ = raise error.

__init__(alt_func=None, behavior='warn') [source]
doc_scikit_image
2017-01-12 17:20:46
Comments
Leave a Comment

Please login to continue.