Skip to content

Commit 2fdcc6f

Browse files
GH-91635: clarify docs about closing of transport in asyncio (#98563)
1 parent 3b2724a commit 2fdcc6f

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)