mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix: Issue9091 Minor documentation clarification.
This commit is contained in:
parent
058173e2b2
commit
fa8979867f
1 changed files with 2 additions and 1 deletions
|
@ -966,7 +966,8 @@ functions based on regular expressions.
|
|||
|
||||
.. method:: str.capitalize()
|
||||
|
||||
Return a copy of the string with only its first character capitalized.
|
||||
Return a copy of the string with its first character capitalized and the
|
||||
rest lowered.
|
||||
|
||||
|
||||
.. method:: str.center(width[, fillchar])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue