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

@ -12544,14 +12544,14 @@ str.strip as unicode_strip
chars: object = None
/
Return a copy of the string with leading and trailing whitespace remove.
Return a copy of the string with leading and trailing whitespace removed.
If chars is given and not None, remove characters in chars instead.
[clinic start generated code]*/
static PyObject *
unicode_strip_impl(PyObject *self, PyObject *chars)
/*[clinic end generated code: output=ca19018454345d57 input=eefe24a1059c352b]*/
/*[clinic end generated code: output=ca19018454345d57 input=385289c6f423b954]*/
{
return do_argstrip(self, BOTHSTRIP, chars);
}