]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-41572: Fix grammar in BaseTransport.close docstring (GH-21914) (GH-21930)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 21 Aug 2020 12:19:58 +0000 (05:19 -0700)
committerGitHub <noreply@github.com>
Fri, 21 Aug 2020 12:19:58 +0000 (17:49 +0530)
Fix grammar in BaseTransport.close docstring.

https://bugs.python.org/issue41572

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

Co-authored-by: Cleber Rosa <cleber.gnu@gmail.com>
Lib/asyncio/transports.py

index 513b1c024a4d6d83dfaa1fe33352e4a354a9de7d..45e155c94cad1b31fb48e12a2098ba41138f4d31 100644 (file)
@@ -29,8 +29,8 @@ class BaseTransport:
 
         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