Skip to content

Commit

Permalink
bpo-38409: Fix grammar in str.strip() docstring (GH-16682) (GH-16684)
Browse files Browse the repository at this point in the history
(cherry picked from commit 09895c2)
  • Loading branch information
miss-islington authored and zware committed Oct 9, 2019
1 parent 0bd9fac commit 0baa6b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Objects/clinic/unicodeobject.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Objects/unicodeobject.c
Expand Up @@ -12476,14 +12476,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);
}
Expand Down

0 comments on commit 0baa6b3

Please sign in to comment.