summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-03-28 19:14:26 (GMT)
committerGitHub <noreply@github.com>2018-03-28 19:14:26 (GMT)
commitbac2d5ba30339298db7d4caa9c8cd31d807cf081 (patch)
treed08e103d7d7f2ef41b56c2e7d8c360663bf7780e /Doc
parentaa50bf08e64f49d57917ab0b1aadf4308a3168a6 (diff)
downloadcpython-bac2d5ba30339298db7d4caa9c8cd31d807cf081.zip
cpython-bac2d5ba30339298db7d4caa9c8cd31d807cf081.tar.gz
cpython-bac2d5ba30339298db7d4caa9c8cd31d807cf081.tar.bz2
Fix duplicating words words. (GH-6296)
Most of them have been added in 3.7.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/asyncio-protocol.rst4
-rw-r--r--Doc/library/contextvars.rst2
-rw-r--r--Doc/library/datetime.rst4
-rw-r--r--Doc/library/test.rst2
-rw-r--r--Doc/whatsnew/3.7.rst2
5 files changed, 7 insertions, 7 deletions
diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst
index 004cac8..ef64416 100644
--- a/Doc/library/asyncio-protocol.rst
+++ b/Doc/library/asyncio-protocol.rst
@@ -339,7 +339,7 @@ Protocol classes
control of the receive buffer.
.. versionadded:: 3.7
- **Important:** this has been been added to asyncio in Python 3.7
+ **Important:** this has been added to asyncio in Python 3.7
*on a provisional basis*! Treat it as an experimental API that
might be changed or removed in Python 3.8.
@@ -450,7 +450,7 @@ Streaming protocols with manual receive buffer control
------------------------------------------------------
.. versionadded:: 3.7
- **Important:** :class:`BufferedProtocol` has been been added to
+ **Important:** :class:`BufferedProtocol` has been added to
asyncio in Python 3.7 *on a provisional basis*! Consider it as an
experimental API that might be changed or removed in Python 3.8.
diff --git a/Doc/library/contextvars.rst b/Doc/library/contextvars.rst
index 1e0987c..abd0d5f 100644
--- a/Doc/library/contextvars.rst
+++ b/Doc/library/contextvars.rst
@@ -253,7 +253,7 @@ client::
addr = writer.transport.get_extra_info('socket').getpeername()
client_addr_var.set(addr)
- # In any code that we call is is now possible to get
+ # In any code that we call is now possible to get
# client's address by calling 'client_addr_var.get()'.
while True:
diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst
index c1b164e..8d91f4e 100644
--- a/Doc/library/datetime.rst
+++ b/Doc/library/datetime.rst
@@ -2209,8 +2209,8 @@ Notes:
:meth:`utcoffset` is transformed into a string of the form
±HHMM[SS[.uuuuuu]], where HH is a 2-digit string giving the number of UTC
offset hours, and MM is a 2-digit string giving the number of UTC offset
- minutes, SS is a 2-digit string string giving the number of UTC offset
- seconds and uuuuuu is a 2-digit string string giving the number of UTC
+ minutes, SS is a 2-digit string giving the number of UTC offset
+ seconds and uuuuuu is a 2-digit string giving the number of UTC
offset microseconds. The uuuuuu part is omitted when the offset is a
whole number of minutes and both the uuuuuu and the SS parts are omitted
when the offset is a whole number of minutes. For example, if
diff --git a/Doc/library/test.rst b/Doc/library/test.rst
index 0746fcf..7b0971a 100644
--- a/Doc/library/test.rst
+++ b/Doc/library/test.rst
@@ -1153,7 +1153,7 @@ The :mod:`test.support` module defines the following functions:
*module*.
The *name_of_module* argument can specify (as a string or tuple thereof) what
- module(s) an API could be defined in in order to be detected as a public
+ module(s) an API could be defined in order to be detected as a public
API. One case for this is when *module* imports part of its public API from
other modules, possibly a C backend (like ``csv`` and its ``_csv``).
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index e0c19cf..1f52488 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -684,7 +684,7 @@ feature. Instances must be created with :class:`~ssl.SSLContext` methods
(Contributed by Christian Heimes in :issue:`32951`)
OpenSSL 1.1 APIs for setting the minimum and maximum TLS protocol version are
-available as as :attr:`~ssl.SSLContext.minimum_version` and
+available as :attr:`~ssl.SSLContext.minimum_version` and
:attr:`~ssl.SSLContext.maximum_version`. Supported protocols are indicated
by new flags like :data:`~ssl.HAS_TLSv1_1`.
(Contributed by Christian Heimes in :issue:`32609`.)