]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docstring typo.
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 3 Oct 2008 12:26:42 +0000 (12:26 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 3 Oct 2008 12:26:42 +0000 (12:26 +0000)
Modules/_codecsmodule.c
Modules/cjkcodecs/multibytecodec.c

index 9250e3edd329f26f49939d0952091fe15e0cef42..9a1470021e21ddd8385664839ed7517067fd71dd 100644 (file)
@@ -115,7 +115,7 @@ Decodes obj using the codec registered for encoding. encoding defaults\n\
 to the default encoding. errors may be given to set a different error\n\
 handling scheme. Default is 'strict' meaning that encoding errors raise\n\
 a ValueError. Other possible values are 'ignore' and 'replace'\n\
-as well as any other name registerd with codecs.register_error that is\n\
+as well as any other name registered with codecs.register_error that is\n\
 able to handle ValueErrors.");
 
 static PyObject *
index 695df028d09c401c2f4151cf661a86a4e7129573..5fb5ec0b0e59b81529ebdbb8f292b3d6054dd9a8 100644 (file)
@@ -36,7 +36,7 @@ PyDoc_STRVAR(MultibyteCodec_Decode__doc__,
 Decodes `string' using I, an MultibyteCodec instance. errors may be given\n\
 to set a different error handling scheme. Default is 'strict' meaning\n\
 that encoding errors raise a UnicodeDecodeError. Other possible values\n\
-are 'ignore' and 'replace' as well as any other name registerd with\n\
+are 'ignore' and 'replace' as well as any other name registered with\n\
 codecs.register_error that is able to handle UnicodeDecodeErrors.");
 
 static char *codeckwarglist[] = {"input", "errors", NULL};