summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2017-01-24 00:30:06 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2017-01-24 00:30:06 (GMT)
commit91a8866dc1c228c36177502393132d6372d0a67d (patch)
tree37274779003921815e58a90be6fc7cfb5d966214
parent8c79c70554aa535eb24477c924492db83716aae1 (diff)
downloadcpython-91a8866dc1c228c36177502393132d6372d0a67d.zip
cpython-91a8866dc1c228c36177502393132d6372d0a67d.tar.gz
cpython-91a8866dc1c228c36177502393132d6372d0a67d.tar.bz2
Fix grammar in doc string, RST markup
-rw-r--r--Doc/whatsnew/3.7.rst2
-rw-r--r--Objects/clinic/unicodeobject.c.h4
-rw-r--r--Objects/unicodeobject.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 5353a14..129d4d4 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -179,5 +179,5 @@ Changes in the Python API
CPython bytecode changes
------------------------
-* Added two new opcodes: :opcode:`LOAD_METHOD`` and :opcode:`CALL_METHOD`.
+* Added two new opcodes: :opcode:`LOAD_METHOD` and :opcode:`CALL_METHOD`.
(Contributed by Yury Selivanov and INADA Naoki in :issue:`26110`.)
diff --git a/Objects/clinic/unicodeobject.c.h b/Objects/clinic/unicodeobject.c.h
index c4bf3a4..509405e 100644
--- a/Objects/clinic/unicodeobject.c.h
+++ b/Objects/clinic/unicodeobject.c.h
@@ -406,7 +406,7 @@ PyDoc_STRVAR(unicode_join__doc__,
"\n"
"Concatenate any number of strings.\n"
"\n"
-"The string whose method is called is inserted in between each given strings.\n"
+"The string whose method is called is inserted in between each given string.\n"
"The result is returned as a new string.\n"
"\n"
"Example: \'.\'.join([\'ab\', \'pq\', \'rs\']) -> \'ab.pq.rs\'");
@@ -962,4 +962,4 @@ unicode_sizeof(PyObject *self, PyObject *Py_UNUSED(ignored))
{
return unicode_sizeof_impl(self);
}
-/*[clinic end generated code: output=3d73f3dfd6ec7d83 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=88b06f61edd282f9 input=a9049054013a1b77]*/
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 0b79c5b..d3516fa 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -12201,7 +12201,7 @@ str.join as unicode_join
Concatenate any number of strings.
-The string whose method is called is inserted in between each given strings.
+The string whose method is called is inserted in between each given string.
The result is returned as a new string.
Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
@@ -12209,7 +12209,7 @@ Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
static PyObject *
unicode_join(PyObject *self, PyObject *iterable)
-/*[clinic end generated code: output=6857e7cecfe7bf98 input=d8311e5ccbafbeb6]*/
+/*[clinic end generated code: output=6857e7cecfe7bf98 input=2f70422bfb8fa189]*/
{
return PyUnicode_Join(self, iterable);
}