Skip to content

Commit babfc0d

Browse files
committed
Make the docs for string.capitalize() match those of str.capitalize()
(which makes it more clear). Closes SF bug #571767.
1 parent 4b11f2b commit babfc0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/lib/libstring.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ \section{\module{string} ---
113113
\end{funcdesc}
114114

115115
\begin{funcdesc}{capitalize}{word}
116-
Capitalize the first character of the argument.
116+
Return a copy of \var{word} with only its first character capitalized.
117117
\end{funcdesc}
118118

119119
\begin{funcdesc}{capwords}{s}

0 commit comments

Comments
 (0)