summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2002-07-26 16:22:46 (GMT)
committerSkip Montanaro <skip@pobox.com>2002-07-26 16:22:46 (GMT)
commit35b37a5c11987a00d925042b157fe1e81739ba08 (patch)
treeafa681441583249e917b106996154fce7366d85e
parentf03c692357275625a92b2d266d51de83b5ea932b (diff)
downloadcpython-35b37a5c11987a00d925042b157fe1e81739ba08.zip
cpython-35b37a5c11987a00d925042b157fe1e81739ba08.tar.gz
cpython-35b37a5c11987a00d925042b157fe1e81739ba08.tar.bz2
tighten up the unicode object's docstring a tad
-rw-r--r--Objects/unicodeobject.c4
1 files 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)