Skip to content

Commit 032d127

Browse files
GH-91635: clarify docs about closing of transport in asyncio (GH-98563)
(cherry picked from commit 2fdcc6f) Co-authored-by: Kumar Aditya <[email protected]>
1 parent d9abd8a commit 032d127

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/asyncio-protocol.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ Base Transport
156156
will be received. After all buffered data is flushed, the
157157
protocol's :meth:`protocol.connection_lost()
158158
<BaseProtocol.connection_lost>` method will be called with
159-
:const:`None` as its argument.
159+
:const:`None` as its argument. The transport should not be
160+
used once it is closed.
160161

161162
.. method:: BaseTransport.is_closing()
162163

0 commit comments

Comments
 (0)