summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2008-10-03 12:26:42 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2008-10-03 12:26:42 (GMT)
commit658c45fd3b072a593d6b25574741abd768d37f9d (patch)
tree75c3f485d91c3d2f9b4173ec5c6ecc8c0167db02
parentc3104768021f14d846757486b494e76674ec1aea (diff)
downloadcpython-658c45fd3b072a593d6b25574741abd768d37f9d.zip
cpython-658c45fd3b072a593d6b25574741abd768d37f9d.tar.gz
cpython-658c45fd3b072a593d6b25574741abd768d37f9d.tar.bz2
Docstring typo.
-rw-r--r--Modules/_codecsmodule.c2
-rw-r--r--Modules/cjkcodecs/multibytecodec.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_codecsmodule.c b/Modules/_codecsmodule.c
index 9250e3e..9a14700 100644
--- a/Modules/_codecsmodule.c
+++ b/Modules/_codecsmodule.c
@@ -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 *
diff --git a/Modules/cjkcodecs/multibytecodec.c b/Modules/cjkcodecs/multibytecodec.c
index 695df02..5fb5ec0 100644
--- a/Modules/cjkcodecs/multibytecodec.c
+++ b/Modules/cjkcodecs/multibytecodec.c
@@ -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};