mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Remove references to unicode from help(str).
This commit is contained in:
parent
b506dc32c1
commit
d474ce8c7a
1 changed files with 2 additions and 2 deletions
|
@ -8606,9 +8606,9 @@ unicode_subtype_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
|
|||
}
|
||||
|
||||
PyDoc_STRVAR(unicode_doc,
|
||||
"unicode(string [, encoding[, errors]]) -> object\n\
|
||||
"str(string [, encoding[, errors]]) -> object\n\
|
||||
\n\
|
||||
Create a new Unicode object from the given encoded string.\n\
|
||||
Create a new string object from the given encoded string.\n\
|
||||
encoding defaults to the current default string encoding.\n\
|
||||
errors can be 'strict', 'replace' or 'ignore' and defaults to 'strict'.");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue