File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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:
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
686686OpenSSL 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
689689by new flags like :data: `~ssl.HAS_TLSv1_1 `.
690690(Contributed by Christian Heimes in :issue: `32609 `.)
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ def eof_received(self):
105105class 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
Original file line number Diff line number Diff line change 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'''
55from test .support import requires
66requires ('gui' )
Original file line number Diff line number Diff line change 99class TextTest (object ):
1010 "Define items common to both sets of tests."
1111
12- hw = 'hello\n world' # Several tests insert this after after initialization.
12+ hw = 'hello\n world' # 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.
Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 11If 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
33cannot be assigned to. Require all dataclasses in a hierarchy to be either
44all frozen or all non-frozen.
You can’t perform that action at this time.
0 commit comments