diff options
-rw-r--r-- | Doc/library/stdtypes.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 1f440160fa..4ac5803ac1 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -830,7 +830,8 @@ string 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. For 8-bit strings, this method is locale-dependent. |