mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +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
|
@ -332,7 +332,8 @@ _Py_bytes_title(char *result, char *s, Py_ssize_t len)
|
|||
PyDoc_STRVAR_shared(_Py_capitalize__doc__,
|
||||
"B.capitalize() -> copy of B\n\
|
||||
\n\
|
||||
Return a copy of B with only its first character capitalized (ASCII).");
|
||||
Return a copy of B with only its first character capitalized (ASCII)\n\
|
||||
and the rest lower-cased.");
|
||||
|
||||
void
|
||||
_Py_bytes_capitalize(char *result, char *s, Py_ssize_t len)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue