From a0d9d3f213fb28914040e9647509c897ad8cc41a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Tue, 12 Mar 2013 07:28:15 +0100 Subject: [PATCH] Use double instead of single quotes for doc string --- skimage/_shared/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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