From: Skip Montanaro Date: Fri, 26 Jul 2002 16:22:46 +0000 (+0000) Subject: tighten up the unicode object's docstring a tad X-Git-Tag: v2.3c1~4861 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35b37a5c11987a00d925042b157fe1e81739ba08;p=python tighten up the unicode object's docstring a tad --- diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 9f61652d6c..6ca709b8d3 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -5851,8 +5851,8 @@ PyDoc_STRVAR(unicode_doc, "unicode(string [, encoding[, errors]]) -> object\n\ \n\ Create a new Unicode object from the given encoded string.\n\ -encoding defaults to the current default string encoding and \n\ -errors, defining the error handling, to 'strict'."); +encoding defaults to the current default string encoding.\n\ +errors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'."); PyTypeObject PyUnicode_Type = { PyObject_HEAD_INIT(&PyType_Type)