re-indent

master
neingeist 10 years ago
parent e222046269
commit 70dd069f57

@ -19,8 +19,8 @@ def typechecked(func):
return_ = wrapped_func(*args, **kvargs) return_ = wrapped_func(*args, **kvargs)
class_ = wrapped_func.__annotations__["return"] class_ = wrapped_func.__annotations__["return"]
if not isinstance(return_, class_): if not isinstance(return_, class_):
raise TypeError("return value is not " raise TypeError("return value is not "
"an instance of {}".format(class_)) "an instance of {}".format(class_))
return return_ return return_
typecheck.__doc__ = wrapped_func.__doc__ typecheck.__doc__ = wrapped_func.__doc__

Loading…
Cancel
Save