mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar
The original form is incorrect grammar and feels awkward, even though the meaning is clear.
This commit is contained in:
parent
96a4f07107
commit
c04fb56e36
25 changed files with 76 additions and 76 deletions
|
|
@ -253,7 +253,7 @@ Creating connections
|
|||
a class. For example, if you want to use a pre-created
|
||||
protocol instance, you can pass ``lambda: my_protocol``.
|
||||
|
||||
Options allowing to change how the connection is created:
|
||||
Options that change how the connection is created:
|
||||
|
||||
* *ssl*: if given and not false, a SSL/TLS transport is created
|
||||
(by default a plain TCP transport is created). If *ssl* is
|
||||
|
|
@ -654,7 +654,7 @@ pool of processes). By default, an event loop uses a thread pool executor
|
|||
Error Handling API
|
||||
------------------
|
||||
|
||||
Allows to customize how exceptions are handled in the event loop.
|
||||
Allows customizing how exceptions are handled in the event loop.
|
||||
|
||||
.. method:: BaseEventLoop.set_exception_handler(handler)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue