Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 473f46a

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 807354f commit 473f46a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/lib/libstring.tex

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

137137
\begin{funcdesc}{capitalize}{word}
138-
Capitalize the first character of the argument.
138+
Return a copy of \var{word} with only its first character capitalized.
139139
\end{funcdesc}
140140

141141
\begin{funcdesc}{capwords}{s}

0 commit comments

Comments
 (0)