mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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:
parent
e69509f468
commit
39e914c03a
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue