diff options
author | Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | 2022-10-24 17:52:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-24 17:52:02 (GMT) |
commit | 2fdcc6f2cb5e3e1e09b8dff179f4c11193799998 (patch) | |
tree | 3f36c7fae7634326beb1f567a9abaa18e9083b5d /Doc | |
parent | 3b2724abcfef7cbe5bf1717be1bb029e4c6b6600 (diff) | |
download | cpython-2fdcc6f2cb5e3e1e09b8dff179f4c11193799998.zip cpython-2fdcc6f2cb5e3e1e09b8dff179f4c11193799998.tar.gz cpython-2fdcc6f2cb5e3e1e09b8dff179f4c11193799998.tar.bz2 |
GH-91635: clarify docs about closing of transport in asyncio (#98563)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/asyncio-protocol.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst index 969354c..7bc906e 100644 --- a/Doc/library/asyncio-protocol.rst +++ b/Doc/library/asyncio-protocol.rst @@ -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() |