summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-08-07 19:42:11 (GMT)
committerCollin Winter <collinw@gmail.com>2007-08-07 19:42:11 (GMT)
commitd474ce8c7a46edb5ab12c616cd307ab34699a816 (patch)
treeb5281850c95fda7f16b308557320134922a502b2 /Objects/unicodeobject.c
parentb506dc32c1ab2d0e4d2c3549d0822904432140ec (diff)
downloadcpython-d474ce8c7a46edb5ab12c616cd307ab34699a816.zip
cpython-d474ce8c7a46edb5ab12c616cd307ab34699a816.tar.gz
cpython-d474ce8c7a46edb5ab12c616cd307ab34699a816.tar.bz2
Remove references to unicode from help(str).
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 0dcc372..98147e8 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -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'.");