]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Make the docs for string.capitalize() match those of str.capitalize()
authorFred Drake <fdrake@acm.org>
Thu, 20 Jun 2002 21:19:27 +0000 (21:19 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 20 Jun 2002 21:19:27 +0000 (21:19 +0000)
(which makes it more clear).
Closes SF bug #571767.

Doc/lib/libstring.tex

index b36990101697f794196a72fdc9d57ddd2b93482b..897e5ea892f1fd2312d4bbb3370ce0768ee18240 100644 (file)
@@ -135,7 +135,7 @@ The functions defined in this module are:
 \end{funcdesc}
 
 \begin{funcdesc}{capitalize}{word}
-  Capitalize the first character of the argument.
+  Return a copy of \var{word} with only its first character capitalized.
 \end{funcdesc}
 
 \begin{funcdesc}{capwords}{s}