Skip to content

Commit a774ac6

Browse files
authored
[3.7] bpo-38409: Fix grammar in str.strip() docstring (GH-16682) (GH-16686)
(cherry picked from commit 09895c2)
1 parent a081e93 commit a774ac6

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
@@ -12474,14 +12474,14 @@ str.strip as unicode_strip
1247412474
chars: object = None
1247512475
/
1247612476
12477-
Return a copy of the string with leading and trailing whitespace remove.
12477+
Return a copy of the string with leading and trailing whitespace removed.
1247812478
1247912479
If chars is given and not None, remove characters in chars instead.
1248012480
[clinic start generated code]*/
1248112481

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

0 commit comments

Comments
 (0)