mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
bpo-38409: Fix grammar in str.strip() docstring (GH-16682)
This commit is contained in:
parent
ecbf35f933
commit
09895c27cd
2 changed files with 4 additions and 4 deletions
4
Objects/clinic/unicodeobject.c.h
generated
4
Objects/clinic/unicodeobject.c.h
generated
|
@ -582,7 +582,7 @@ PyDoc_STRVAR(unicode_strip__doc__,
|
|||
"strip($self, chars=None, /)\n"
|
||||
"--\n"
|
||||
"\n"
|
||||
"Return a copy of the string with leading and trailing whitespace remove.\n"
|
||||
"Return a copy of the string with leading and trailing whitespace removed.\n"
|
||||
"\n"
|
||||
"If chars is given and not None, remove characters in chars instead.");
|
||||
|
||||
|
@ -1232,4 +1232,4 @@ unicode_sizeof(PyObject *self, PyObject *Py_UNUSED(ignored))
|
|||
{
|
||||
return unicode_sizeof_impl(self);
|
||||
}
|
||||
/*[clinic end generated code: output=5e15747f78f18329 input=a9049054013a1b77]*/
|
||||
/*[clinic end generated code: output=e4ed33400979c7e8 input=a9049054013a1b77]*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue