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

(cherry picked from commit 4196ee5c8b)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2022-10-25 19:23:08 -07:00 committed by GitHub
parent cb323a8612
commit 866dc74afa
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`