Commit a0a30ccf authored by Colm Talbot's avatar Colm Talbot
Browse files

flake fix

parent 225e6a56
......@@ -1461,9 +1461,9 @@ def docstring(docstr, sep="\n"):
Separation character for appending the existing docstring.
"""
def _decorator(func):
if func.__doc__ == None:
if func.__doc__ is None:
func.__doc__ = docstr
else:
func.__doc__ = sep.join([func.__doc__, docstr])
return func
return _decorator
\ No newline at end of file
return _decorator
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment