summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-10-07 21:56:27 (GMT)
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-10-07 21:56:27 (GMT)
commit042fa653ab91c05dfb50e227361ba345e45169c7 (patch)
tree542da728dee2e9536ff28a261aefb5005437d900 /Objects/unicodeobject.c
parent3e5dae0ee290a2f16e14e8f9af01dd0214063f21 (diff)
parent83fe2e1c22e6ff72a308e82e1e24ca03f8c51339 (diff)
downloadcpython-042fa653ab91c05dfb50e227361ba345e45169c7.zip
cpython-042fa653ab91c05dfb50e227361ba345e45169c7.tar.gz
cpython-042fa653ab91c05dfb50e227361ba345e45169c7.tar.bz2
Issue #14783: Merge changes from 3.2.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 8289580..6c8fe2d 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -14074,7 +14074,8 @@ onError:
}
PyDoc_STRVAR(unicode_doc,
- "str(object[, encoding[, errors]]) -> str\n\
+"str(object='') -> str\n\
+str(bytes_or_buffer[, encoding[, errors]]) -> str\n\
\n\
Create a new string object from the given object. If encoding or\n\
errors is specified, then the object must expose a data buffer\n\