Skip to content

Commit 0baa6b3

Browse files
miss-islingtonzware
authored andcommitted
bpo-38409: Fix grammar in str.strip() docstring (GH-16682) (GH-16684)
(cherry picked from commit 09895c2)
1 parent 0bd9fac commit 0baa6b3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Objects/clinic/unicodeobject.c.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Objects/unicodeobject.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12476,14 +12476,14 @@ str.strip as unicode_strip
1247612476
chars: object = None
1247712477
/
1247812478
12479-
Return a copy of the string with leading and trailing whitespace remove.
12479+
Return a copy of the string with leading and trailing whitespace removed.
1248012480
1248112481
If chars is given and not None, remove characters in chars instead.
1248212482
[clinic start generated code]*/
1248312483

1248412484
static PyObject *
1248512485
unicode_strip_impl(PyObject *self, PyObject *chars)
12486-
/*[clinic end generated code: output=ca19018454345d57 input=eefe24a1059c352b]*/
12486+
/*[clinic end generated code: output=ca19018454345d57 input=385289c6f423b954]*/
1248712487
{
1248812488
return do_argstrip(self, BOTHSTRIP, chars);
1248912489
}

0 commit comments

Comments
 (0)