mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-09 11:33:41 +08:00
Use double instead of single quotes for doc string
This commit is contained in:
@@ -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 <http://wiki.python.org/moin/PythonDecoratorLibrary>.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user