Skip to content

Commit 6ebb05b

Browse files
zwareJake Taylor
authored andcommitted
bpo-38409: Fix grammar in str.strip() docstring (pythonGH-16682)
1 parent 4b5f86b commit 6ebb05b

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
@@ -12544,14 +12544,14 @@ str.strip as unicode_strip
1254412544
chars: object = None
1254512545
/
1254612546
12547-
Return a copy of the string with leading and trailing whitespace remove.
12547+
Return a copy of the string with leading and trailing whitespace removed.
1254812548
1254912549
If chars is given and not None, remove characters in chars instead.
1255012550
[clinic start generated code]*/
1255112551

1255212552
static PyObject *
1255312553
unicode_strip_impl(PyObject *self, PyObject *chars)
12554-
/*[clinic end generated code: output=ca19018454345d57 input=eefe24a1059c352b]*/
12554+
/*[clinic end generated code: output=ca19018454345d57 input=385289c6f423b954]*/
1255512555
{
1255612556
return do_argstrip(self, BOTHSTRIP, chars);
1255712557
}

0 commit comments

Comments
 (0)