Skip to content

Commit 8777d05

Browse files
gh-84747: Add async for comment for StreamReader (GH-98633)
(cherry picked from commit 4196ee5) Co-authored-by: Stanley <[email protected]>
1 parent 83c8df2 commit 8777d05

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/asyncio-stream.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ StreamReader
183183
.. class:: StreamReader
184184

185185
Represents a reader object that provides APIs to read data
186-
from the IO stream.
186+
from the IO stream. As an :term:`asynchronous iterable`, the
187+
object supports the :keyword:`async for` statement.
187188

188189
It is not recommended to instantiate *StreamReader* objects
189190
directly; use :func:`open_connection` and :func:`start_server`

0 commit comments

Comments
 (0)