mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
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:
parent
cb323a8612
commit
866dc74afa
1 changed files with 2 additions and 1 deletions
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue