Skip to content

Commit 4196ee5

Browse files
authored
gh-84747: Add async for comment for StreamReader (#98633)
1 parent 4564490 commit 4196ee5

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)