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:01:37 -07:00 committed by GitHub
parent e69509f468
commit 39e914c03a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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()