summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-10-24 18:01:37 (GMT)
committerGitHub <noreply@github.com>2022-10-24 18:01:37 (GMT)
commit39e914c03aa14c60c78b93f126eb845cea18b3d9 (patch)
tree6e21f4d545d13d2d5f821f18268cd2935dd73975
parente69509f468f2c6f3802eb4595dd008cf4352e326 (diff)
downloadcpython-39e914c03aa14c60c78b93f126eb845cea18b3d9.zip
cpython-39e914c03aa14c60c78b93f126eb845cea18b3d9.tar.gz
cpython-39e914c03aa14c60c78b93f126eb845cea18b3d9.tar.bz2
GH-91635: clarify docs about closing of transport in asyncio (GH-98563)
(cherry picked from commit 2fdcc6f2cb5e3e1e09b8dff179f4c11193799998) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
-rw-r--r--Doc/library/asyncio-protocol.rst3
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()