]> granicus.if.org Git - python/commitdiff
M.-A. Lemburg <mal@lemburg.com>:
authorFred Drake <fdrake@acm.org>
Tue, 9 May 2000 19:55:16 +0000 (19:55 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 9 May 2000 19:55:16 +0000 (19:55 +0000)
Fixed docs according to the new behaviour (the Unicode
encoding is no longer fixed to UTF-8).

Python/bltinmodule.c

index 1df95d7a9527addb71df2888b8cc01bb74d543dc..b6c532353ca0220e5e6099c8014ac0db231b8cee 100644 (file)
@@ -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 *