From 658c45fd3b072a593d6b25574741abd768d37f9d Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Fri, 3 Oct 2008 12:26:42 +0000 Subject: [PATCH] Docstring typo. --- Modules/_codecsmodule.c | 2 +- Modules/cjkcodecs/multibytecodec.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/_codecsmodule.c b/Modules/_codecsmodule.c index 9250e3edd32..9a1470021e2 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 695df028d09..5fb5ec0b0e5 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};