summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-10-09 21:55:39 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2019-10-09 21:55:39 (GMT)
commit0baa6b3c7d9ef1d96f10939c40f8ff95aba9155b (patch)
tree51a1e9a6b0fbe51b42fd325d19962275457d07e7 /Objects
parent0bd9fac7a866ec886ae8f93f9c24dcda6d436929 (diff)
downloadcpython-0baa6b3c7d9ef1d96f10939c40f8ff95aba9155b.zip
cpython-0baa6b3c7d9ef1d96f10939c40f8ff95aba9155b.tar.gz
cpython-0baa6b3c7d9ef1d96f10939c40f8ff95aba9155b.tar.bz2
bpo-38409: Fix grammar in str.strip() docstring (GH-16682) (GH-16684)
(cherry picked from commit 09895c27cd8ff60563a794016e8c099bc897cc74)
Diffstat (limited to 'Objects')
-rw-r--r--Objects/clinic/unicodeobject.c.h4
-rw-r--r--Objects/unicodeobject.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/Objects/clinic/unicodeobject.c.h b/Objects/clinic/unicodeobject.c.h
index c7d6edb..0d13406 100644
--- a/Objects/clinic/unicodeobject.c.h
+++ b/Objects/clinic/unicodeobject.c.h
@@ -582,7 +582,7 @@ PyDoc_STRVAR(unicode_strip__doc__,
"strip($self, chars=None, /)\n"
"--\n"
"\n"
-"Return a copy of the string with leading and trailing whitespace remove.\n"
+"Return a copy of the string with leading and trailing whitespace removed.\n"
"\n"
"If chars is given and not None, remove characters in chars instead.");
@@ -1232,4 +1232,4 @@ unicode_sizeof(PyObject *self, PyObject *Py_UNUSED(ignored))
{
return unicode_sizeof_impl(self);
}
-/*[clinic end generated code: output=5e15747f78f18329 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=e4ed33400979c7e8 input=a9049054013a1b77]*/
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 1466e8a..9eef05a 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -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);
}