tighten up the unicode object's docstring a tad
authorSkip Montanaro <skip@pobox.com>
Fri, 26 Jul 2002 16:22:46 +0000 (16:22 +0000)
committerSkip Montanaro <skip@pobox.com>
Fri, 26 Jul 2002 16:22:46 +0000 (16:22 +0000)
Objects/unicodeobject.c

index 9f61652d6c364fbcf204aee9334e1b2370fc80c9..6ca709b8d308894ffcd2f0529e89ddc4231456b7 100644 (file)
@@ -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)