From 91a8866dc1c228c36177502393132d6372d0a67d Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Tue, 24 Jan 2017 00:30:06 +0000 Subject: Fix grammar in doc string, RST markup --- Doc/whatsnew/3.7.rst | 2 +- Objects/clinic/unicodeobject.c.h | 4 ++-- Objects/unicodeobject.c | 4 ++-- 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); } -- cgit v0.12