summaryrefslogtreecommitdiff
path: root/Objects/bytes_methods.c
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-07-05 12:04:23 +0000
committerSenthil Kumaran <orsenthil@gmail.com>2010-07-05 12:04:23 +0000
commit4796f633348087e535fbfde7574e47e8cd04464c (patch)
tree5a389f9885cdfe56bfc9ed6f4d1d20fd45eced79 /Objects/bytes_methods.c
parentc2b433fdc871f239951a1e3b0ffca8e6d0ba4848 (diff)
downloadcpython-4796f633348087e535fbfde7574e47e8cd04464c.tar.gz
Merged revisions 82573 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82573 | senthil.kumaran | 2010-07-05 17:30:56 +0530 (Mon, 05 Jul 2010) | 3 lines Fix the docstrings of the capitalize method. ........
Diffstat (limited to 'Objects/bytes_methods.c')
-rw-r--r--Objects/bytes_methods.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/bytes_methods.c b/Objects/bytes_methods.c
index 215a1fac0f..b41b3d9b80 100644
--- a/Objects/bytes_methods.c
+++ b/Objects/bytes_methods.c
@@ -332,7 +332,8 @@ _Py_bytes_title(char *result, char *s, Py_ssize_t len)
PyDoc_STRVAR_shared(_Py_capitalize__doc__,
"B.capitalize() -> copy of B\n\
\n\
-Return a copy of B with only its first character capitalized (ASCII).");
+Return a copy of B with only its first character capitalized (ASCII)\n\
+and the rest lower-cased.");
void
_Py_bytes_capitalize(char *result, char *s, Py_ssize_t len)