GH-91635: clarify docs about closing of transport in asyncio (GH-98563)

(cherry picked from commit 2fdcc6f2cb)

Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2022-10-24 11:00:18 -07:00 committed by GitHub
parent d9abd8a584
commit 032d1276ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -156,7 +156,8 @@ Base Transport
will be received. After all buffered data is flushed, the
protocol's :meth:`protocol.connection_lost()
<BaseProtocol.connection_lost>` method will be called with
:const:`None` as its argument.
:const:`None` as its argument. The transport should not be
used once it is closed.
.. method:: BaseTransport.is_closing()