]> 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:48 +0000 (21:19 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 20 Jun 2002 21:19:48 +0000 (21:19 +0000)
(which makes it more clear).
Closes SF bug #571767.

Doc/lib/libstring.tex

index 38a0dbd2cdd6728042f4192c60838e1ee7bb1ef7..f54af8668cbc08caae46bacdea650436673b6b7f 100644 (file)
@@ -113,7 +113,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}