[Python-checkins] bpo-41572: Fix grammar in BaseTransport.close docstring (GH-21914) (GH-21930)

Miss Islington (bot) webhook-mailer at python.org
Fri Aug 21 08:20:06 EDT 2020

commit: 1370d9dd9fbd71e9d3c250c8e6644e0ee6534fca
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-08-21T17:49:58+05:30

bpo-41572: Fix grammar in BaseTransport.close docstring (GH-21914) (GH-21930)

Fix grammar in BaseTransport.close docstring.


Signed-off-by: Cleber Rosa <crosa at redhat.com>
(cherry picked from commit 1afb42cfa82dad0ddd726f59c6c5fcb3962314db)

Co-authored-by: Cleber Rosa <cleber.gnu at gmail.com>

M Lib/asyncio/transports.py

diff --git a/Lib/asyncio/transports.py b/Lib/asyncio/transports.py
index 513b1c024a4d6..45e155c94cad1 100644
--- a/Lib/asyncio/transports.py
+++ b/Lib/asyncio/transports.py
@@ -29,8 +29,8 @@ def close(self):
         Buffered data will be flushed asynchronously.  No more data
         will be received.  After all buffered data is flushed, the
-        protocol's connection_lost() method will (eventually) called
-        with None as its argument.
+        protocol's connection_lost() method will (eventually) be
+        called with None as its argument.
         raise NotImplementedError

More information about the Python-checkins mailing list