gh-84747: Add async for comment for StreamReader (#98633)

This commit is contained in:
Stanley 2022-10-25 19:16:18 -07:00 committed by GitHub
parent 45644905ea
commit 4196ee5c8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -183,7 +183,8 @@ StreamReader
.. class:: StreamReader
Represents a reader object that provides APIs to read data
from the IO stream.
from the IO stream. As an :term:`asynchronous iterable`, the
object supports the :keyword:`async for` statement.
It is not recommended to instantiate *StreamReader* objects
directly; use :func:`open_connection` and :func:`start_server`