mirror of
https://github.com/python/cpython.git
synced 2024-11-26 11:24:40 +08:00
Fix: Issue9091 Minor documentation clarification.
This commit is contained in:
parent
058173e2b2
commit
fa8979867f
@ -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…
Reference in New Issue
Block a user