bpo-38409: Fix grammar in str.strip() docstring (GH-16682)

This commit is contained in:
Zachary Ware 2019-10-09 16:09:00 -05:00 committed by GitHub
parent ecbf35f933
commit 09895c27cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -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]*/