[Python-checkins] r66767 - in python/trunk/Modules: _codecsmodule.c cjkcodecs/multibytecodec.c

andrew.kuchling python-checkins at python.org
Fri Oct 3 14:26:42 CEST 2008


Author: andrew.kuchling
Date: Fri Oct  3 14:26:42 2008
New Revision: 66767

Log:
Docstring typo.

Modified:
   python/trunk/Modules/_codecsmodule.c
   python/trunk/Modules/cjkcodecs/multibytecodec.c

Modified: python/trunk/Modules/_codecsmodule.c
==============================================================================
--- python/trunk/Modules/_codecsmodule.c	(original)
+++ python/trunk/Modules/_codecsmodule.c	Fri Oct  3 14:26:42 2008
@@ -115,7 +115,7 @@
 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 *

Modified: python/trunk/Modules/cjkcodecs/multibytecodec.c
==============================================================================
--- python/trunk/Modules/cjkcodecs/multibytecodec.c	(original)
+++ python/trunk/Modules/cjkcodecs/multibytecodec.c	Fri Oct  3 14:26:42 2008
@@ -36,7 +36,7 @@
 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};


More information about the Python-checkins mailing list