re-indent
This commit is contained in:
parent
e222046269
commit
70dd069f57
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ def typechecked(func):
|
|||
return_ = wrapped_func(*args, **kvargs)
|
||||
class_ = wrapped_func.__annotations__["return"]
|
||||
if not isinstance(return_, class_):
|
||||
raise TypeError("return value is not "
|
||||
"an instance of {}".format(class_))
|
||||
raise TypeError("return value is not "
|
||||
"an instance of {}".format(class_))
|
||||
return return_
|
||||
|
||||
typecheck.__doc__ = wrapped_func.__doc__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue