Fix a spelling error.
This commit is contained in:
parent
e36d9f7b49
commit
e22d1112c4
|
@ -320,7 +320,7 @@ Annotation Checker
|
|||
format(func=sig.qualname, arg=param.name))
|
||||
|
||||
def check_type(sig, arg_name, arg_type, arg_value):
|
||||
# Internal function that incapsulates arguments type checking
|
||||
# Internal function that encapsulates arguments type checking
|
||||
if not isinstance(arg_value, arg_type):
|
||||
raise ValueError("{func}: wrong type of {arg!r} argument, " \
|
||||
"{exp!r} expected, got {got!r}". \
|
||||
|
|
Loading…
Reference in New Issue