Use double instead of single quotes for doc string

This commit is contained in:
Johannes Schönberger
2013-03-12 07:28:15 +01:00
parent 0cb0fee339
commit a0d9d3f213
+2 -2
View File
@@ -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