mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
Fix the docstrings of the capitalize method.
This commit is contained in:
parent
fa8979867f
commit
e51ee8a5bc
2 changed files with 3 additions and 2 deletions
|
@ -6705,7 +6705,7 @@ PyDoc_STRVAR(capitalize__doc__,
|
|||
"S.capitalize() -> str\n\
|
||||
\n\
|
||||
Return a capitalized version of S, i.e. make the first character\n\
|
||||
have upper case.");
|
||||
have upper case and the rest lower case.");
|
||||
|
||||
static PyObject*
|
||||
unicode_capitalize(PyUnicodeObject *self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue