summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2019-10-09 21:09:00 (GMT)
committerGitHub <noreply@github.com>2019-10-09 21:09:00 (GMT)
commit09895c27cd8ff60563a794016e8c099bc897cc74 (patch)
tree880845dcae27149f01fd819386f4e26035713fda /Objects/unicodeobject.c
parentecbf35f9335b0420cb8adfda6f299d6747a16515 (diff)
downloadcpython-09895c27cd8ff60563a794016e8c099bc897cc74.zip
cpython-09895c27cd8ff60563a794016e8c099bc897cc74.tar.gz
cpython-09895c27cd8ff60563a794016e8c099bc897cc74.tar.bz2
bpo-38409: Fix grammar in str.strip() docstring (GH-16682)
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 8d442fb..2d60627 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -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);
}