[Python-checkins] peps: Fix a spelling error.

brett.cannon python-checkins at python.org
Thu Jun 14 16:14:46 CEST 2012


http://hg.python.org/peps/rev/ea71020acbad
changeset:   4460:ea71020acbad
user:        Brett Cannon <brett at python.org>
date:        Thu Jun 14 10:10:28 2012 -0400
summary:
  Fix a spelling error.

files:
  pep-0362.txt |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/pep-0362.txt b/pep-0362.txt
--- a/pep-0362.txt
+++ b/pep-0362.txt
@@ -320,7 +320,7 @@
                                          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}". \

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list