[Python-checkins] GH-91635: clarify docs about closing of transport in asyncio (GH-98563)
miss-islington
webhook-mailer at python.org
Mon Oct 24 14:01:42 EDT 2022
https://github.com/python/cpython/commit/39e914c03aa14c60c78b93f126eb845cea18b3d9
commit: 39e914c03aa14c60c78b93f126eb845cea18b3d9
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-10-24T11:01:37-07:00
summary:
GH-91635: clarify docs about closing of transport in asyncio (GH-98563)
(cherry picked from commit 2fdcc6f2cb5e3e1e09b8dff179f4c11193799998)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303 at users.noreply.github.com>
files:
M Doc/library/asyncio-protocol.rst
diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst
index 969354ceb163..7bc906eaafc1 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()
More information about the Python-checkins
mailing list