mirror of
https://github.com/python/cpython.git
synced 2025-07-19 09:15:34 +00:00
M.-A. Lemburg <mal@lemburg.com>:
Fixed docs according to the new behaviour (the Unicode encoding is no longer fixed to UTF-8).
This commit is contained in:
parent
785d14f965
commit
c640b18d96
1 changed files with 2 additions and 2 deletions
|
@ -193,8 +193,8 @@ static char unicode_doc[] =
|
|||
"unicode(string [, encoding[, errors]]) -> object\n\
|
||||
\n\
|
||||
Creates a new Unicode object from the given encoded string.\n\
|
||||
encoding defaults to 'utf-8' and errors, defining the error handling,\n\
|
||||
to 'strict'.";
|
||||
encoding defaults to the current default string encoding and \n\
|
||||
errors, defining the error handling, to 'strict'.";
|
||||
|
||||
|
||||
static PyObject *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue