diff options
author | Skip Montanaro <skip@pobox.com> | 2002-07-26 16:22:46 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2002-07-26 16:22:46 (GMT) |
commit | 35b37a5c11987a00d925042b157fe1e81739ba08 (patch) | |
tree | afa681441583249e917b106996154fce7366d85e /Objects | |
parent | f03c692357275625a92b2d266d51de83b5ea932b (diff) | |
download | cpython-35b37a5c11987a00d925042b157fe1e81739ba08.zip cpython-35b37a5c11987a00d925042b157fe1e81739ba08.tar.gz cpython-35b37a5c11987a00d925042b157fe1e81739ba08.tar.bz2 |
tighten up the unicode object's docstring a tad
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 4 |
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) |