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

This commit is contained in:
Kumar Aditya 2022-10-24 23:22:02 +05:30 committed by GitHub
parent 3b2724abcf
commit 2fdcc6f2cb
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()