diff --git a/skimage/_shared/utils.py b/skimage/_shared/utils.py index 102d4214..fc13c7e6 100644 --- a/skimage/_shared/utils.py +++ b/skimage/_shared/utils.py @@ -6,7 +6,7 @@ __all__ = ['deprecated'] class deprecated(object): - '''Decorator to mark deprecated functions with warning. + """Decorator to mark deprecated functions with warning. Adapted from . @@ -17,7 +17,7 @@ class deprecated(object): behavior : {'warn', 'raise'} Behavior during call to deprecated function: 'warn' = warn user that function is deprecated; 'raise' = raise error. - ''' + """ def __init__(self, alt_func=None, behavior='warn'): self.alt_func = alt_func