summaryrefslogtreecommitdiffstats
path: root/Objects/clinic/unicodeobject.c.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-10-28 23:11:54 (GMT)
committerGitHub <noreply@github.com>2017-10-28 23:11:54 (GMT)
commita2314283ff87c65e1745a42c2f2b716b1a209128 (patch)
treeb1b1287aeea750c8694673939ec72b469c19cc59 /Objects/clinic/unicodeobject.c.h
parent5a4bbcd479ce86f68bbe12bc8c16e3447f32e13a (diff)
downloadcpython-a2314283ff87c65e1745a42c2f2b716b1a209128.zip
cpython-a2314283ff87c65e1745a42c2f2b716b1a209128.tar.gz
cpython-a2314283ff87c65e1745a42c2f2b716b1a209128.tar.bz2
bpo-20047: Make bytearray methods partition() and rpartition() rejecting (#4158)
separators that are not bytes-like objects.
Diffstat (limited to 'Objects/clinic/unicodeobject.c.h')
-rw-r--r--Objects/clinic/unicodeobject.c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/clinic/unicodeobject.c.h b/Objects/clinic/unicodeobject.c.h
index ca90e6d..0936527 100644
--- a/Objects/clinic/unicodeobject.c.h
+++ b/Objects/clinic/unicodeobject.c.h
@@ -682,7 +682,7 @@ PyDoc_STRVAR(unicode_rpartition__doc__,
"\n"
"Partition the string into three parts using the given separator.\n"
"\n"
-"This will search for the separator in the string, starting and the end. If\n"
+"This will search for the separator in the string, starting at the end. If\n"
"the separator is found, returns a 3-tuple containing the part before the\n"
"separator, the separator itself, and the part after it.\n"
"\n"
@@ -930,4 +930,4 @@ unicode_sizeof(PyObject *self, PyObject *Py_UNUSED(ignored))
{
return unicode_sizeof_impl(self);
}
-/*[clinic end generated code: output=8fd799fd7f2cc724 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=816292e81a8a732e input=a9049054013a1b77]*/