]> granicus.if.org Git - python/commitdiff
Remove references to unicode from help(str).
authorCollin Winter <collinw@gmail.com>
Tue, 7 Aug 2007 19:42:11 +0000 (19:42 +0000)
committerCollin Winter <collinw@gmail.com>
Tue, 7 Aug 2007 19:42:11 +0000 (19:42 +0000)
Objects/unicodeobject.c

index 0dcc372b554ded7c1addc28b2733a18d01205182..98147e8f519bff44804b9de7a619af75e3d99770 100644 (file)
@@ -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'.");