Fix a spelling error.

This commit is contained in:
Brett Cannon 2012-06-14 10:10:28 -04:00
parent e36d9f7b49
commit e22d1112c4
1 changed files with 1 additions and 1 deletions

View File

@ -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}". \