summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2017-01-24 00:30:06 +0000
committerMartin Panter <vadmium+py@gmail.com>2017-01-24 00:30:06 +0000
commit8882e556eef08ade01461b9f4ccfe2d82bdae694 (patch)
tree96d40cadde4f45f9ee9de682334ac5a43c26044d
parent9c141f9d4328604e45c633c5e4803c865d43b0df (diff)
downloadcpython-8882e556eef08ade01461b9f4ccfe2d82bdae694.tar.gz
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 5353a141cb..129d4d45c5 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 c4bf3a433c..509405e527 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 0b79c5bd1a..d3516fa45f 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);
}