diff Objects/bytes_methods.c @ 62804:c81fc1ffe946 3.1

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. ........
author Senthil Kumaran <orsenthil@gmail.com>
date Mon, 05 Jul 2010 12:04:23 +0000
parents f197407bdba2
children e783c7d5ae36
line wrap: on
line diff
--- a/Objects/bytes_methods.c	Mon Jul 05 11:44:49 2010 +0000
+++ b/Objects/bytes_methods.c	Mon Jul 05 12:04:23 2010 +0000
@@ -332,7 +332,8 @@
 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)