From 35b37a5c11987a00d925042b157fe1e81739ba08 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Fri, 26 Jul 2002 16:22:46 +0000 Subject: tighten up the unicode object's docstring a tad --- Objects/unicodeobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 9f61652..6ca709b 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) -- cgit v0.12