mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
tighten up the unicode object's docstring a tad
This commit is contained in:
parent
f03c692357
commit
35b37a5c11
1 changed files with 2 additions and 2 deletions
|
@ -5851,8 +5851,8 @@ PyDoc_STRVAR(unicode_doc,
|
||||||
"unicode(string [, encoding[, errors]]) -> object\n\
|
"unicode(string [, encoding[, errors]]) -> object\n\
|
||||||
\n\
|
\n\
|
||||||
Create a new Unicode object from the given encoded string.\n\
|
Create a new Unicode object from the given encoded string.\n\
|
||||||
encoding defaults to the current default string encoding and \n\
|
encoding defaults to the current default string encoding.\n\
|
||||||
errors, defining the error handling, to 'strict'.");
|
errors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'.");
|
||||||
|
|
||||||
PyTypeObject PyUnicode_Type = {
|
PyTypeObject PyUnicode_Type = {
|
||||||
PyObject_HEAD_INIT(&PyType_Type)
|
PyObject_HEAD_INIT(&PyType_Type)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue