mirror of
https://github.com/python/cpython.git
synced 2025-12-05 00:52:25 +00:00
Docstring typo.
This commit is contained in:
parent
c310476802
commit
658c45fd3b
2 changed files with 2 additions and 2 deletions
|
|
@ -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\
|
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\
|
handling scheme. Default is 'strict' meaning that encoding errors raise\n\
|
||||||
a ValueError. Other possible values are 'ignore' and 'replace'\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.");
|
able to handle ValueErrors.");
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ PyDoc_STRVAR(MultibyteCodec_Decode__doc__,
|
||||||
Decodes `string' using I, an MultibyteCodec instance. errors may be given\n\
|
Decodes `string' using I, an MultibyteCodec instance. errors may be given\n\
|
||||||
to set a different error handling scheme. Default is 'strict' meaning\n\
|
to set a different error handling scheme. Default is 'strict' meaning\n\
|
||||||
that encoding errors raise a UnicodeDecodeError. Other possible values\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.");
|
codecs.register_error that is able to handle UnicodeDecodeErrors.");
|
||||||
|
|
||||||
static char *codeckwarglist[] = {"input", "errors", NULL};
|
static char *codeckwarglist[] = {"input", "errors", NULL};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue