Skip to content

Commit

Permalink
tighten up the unicode object's docstring a tad
Browse files Browse the repository at this point in the history
  • Loading branch information
Skip Montanaro committed Jul 26, 2002
1 parent f03c692 commit 35b37a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Objects/unicodeobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 35b37a5

Please sign in to comment.