Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bac2d5b

Browse files
Fix duplicating words words. (GH-6296)
Most of them have been added in 3.7.
1 parent aa50bf0 commit bac2d5b

11 files changed

Lines changed: 13 additions & 13 deletions

File tree

Doc/library/asyncio-protocol.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ Protocol classes
339339
control of the receive buffer.
340340

341341
.. versionadded:: 3.7
342-
**Important:** this has been been added to asyncio in Python 3.7
342+
**Important:** this has been added to asyncio in Python 3.7
343343
*on a provisional basis*! Treat it as an experimental API that
344344
might be changed or removed in Python 3.8.
345345

@@ -450,7 +450,7 @@ Streaming protocols with manual receive buffer control
450450
------------------------------------------------------
451451

452452
.. versionadded:: 3.7
453-
**Important:** :class:`BufferedProtocol` has been been added to
453+
**Important:** :class:`BufferedProtocol` has been added to
454454
asyncio in Python 3.7 *on a provisional basis*! Consider it as an
455455
experimental API that might be changed or removed in Python 3.8.
456456

Doc/library/contextvars.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ client::
253253
addr = writer.transport.get_extra_info('socket').getpeername()
254254
client_addr_var.set(addr)
255255

256-
# In any code that we call is is now possible to get
256+
# In any code that we call is now possible to get
257257
# client's address by calling 'client_addr_var.get()'.
258258

259259
while True:

Doc/library/datetime.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2209,8 +2209,8 @@ Notes:
22092209
:meth:`utcoffset` is transformed into a string of the form
22102210
±HHMM[SS[.uuuuuu]], where HH is a 2-digit string giving the number of UTC
22112211
offset hours, and MM is a 2-digit string giving the number of UTC offset
2212-
minutes, SS is a 2-digit string string giving the number of UTC offset
2213-
seconds and uuuuuu is a 2-digit string string giving the number of UTC
2212+
minutes, SS is a 2-digit string giving the number of UTC offset
2213+
seconds and uuuuuu is a 2-digit string giving the number of UTC
22142214
offset microseconds. The uuuuuu part is omitted when the offset is a
22152215
whole number of minutes and both the uuuuuu and the SS parts are omitted
22162216
when the offset is a whole number of minutes. For example, if

Doc/library/test.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ The :mod:`test.support` module defines the following functions:
11531153
*module*.
11541154

11551155
The *name_of_module* argument can specify (as a string or tuple thereof) what
1156-
module(s) an API could be defined in in order to be detected as a public
1156+
module(s) an API could be defined in order to be detected as a public
11571157
API. One case for this is when *module* imports part of its public API from
11581158
other modules, possibly a C backend (like ``csv`` and its ``_csv``).
11591159

Doc/whatsnew/3.7.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ feature. Instances must be created with :class:`~ssl.SSLContext` methods
684684
(Contributed by Christian Heimes in :issue:`32951`)
685685

686686
OpenSSL 1.1 APIs for setting the minimum and maximum TLS protocol version are
687-
available as as :attr:`~ssl.SSLContext.minimum_version` and
687+
available as :attr:`~ssl.SSLContext.minimum_version` and
688688
:attr:`~ssl.SSLContext.maximum_version`. Supported protocols are indicated
689689
by new flags like :data:`~ssl.HAS_TLSv1_1`.
690690
(Contributed by Christian Heimes in :issue:`32609`.)

Lib/asyncio/protocols.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def eof_received(self):
105105
class BufferedProtocol(BaseProtocol):
106106
"""Interface for stream protocol with manual buffer control.
107107
108-
Important: this has been been added to asyncio in Python 3.7
108+
Important: this has been added to asyncio in Python 3.7
109109
*on a provisional basis*! Consider it as an experimental API that
110110
might be changed or removed in Python 3.8.
111111

Lib/idlelib/idle_test/test_editmenu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'''Test (selected) IDLE Edit menu items.
22
3-
Edit modules have their own test files files
3+
Edit modules have their own test files
44
'''
55
from test.support import requires
66
requires('gui')

Lib/idlelib/idle_test/test_text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class TextTest(object):
1010
"Define items common to both sets of tests."
1111

12-
hw = 'hello\nworld' # Several tests insert this after after initialization.
12+
hw = 'hello\nworld' # Several tests insert this after initialization.
1313
hwn = hw+'\n' # \n present at initialization, before insert
1414

1515
# setUpClass defines cls.Text and maybe cls.root.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Add Ttk spinbox widget to to tkinter.ttk. Patch by Alan D Moore.
1+
Add Ttk spinbox widget to :mod:`tkinter.ttk`. Patch by Alan D Moore.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
If a non-dataclass inherits from a frozen dataclass, allow attributes to be
2-
added to the derived class. Only attributes from from the frozen dataclass
2+
added to the derived class. Only attributes from the frozen dataclass
33
cannot be assigned to. Require all dataclasses in a hierarchy to be either
44
all frozen or all non-frozen.

0 commit comments

Comments
 (0)