Skip to content

Commit a9941fd

Browse files
committed
bpo-34613: document the correct value of limit argument of asyncio.StreamReader
1 parent 0afada1 commit a9941fd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Doc/library/asyncio-stream.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,12 @@ Stream functions
126126
StreamReader
127127
============
128128

129-
.. class:: StreamReader(limit=None, loop=None)
129+
.. class:: StreamReader(limit=_DEFAULT_LIMIT, loop=None)
130130

131131
This class is :ref:`not thread safe <asyncio-multithreading>`.
132132

133+
The *limit* argument's default value is set to _DEFAULT_LIMIT which is 2**16 (64 KiB)
134+
133135
.. method:: exception()
134136

135137
Get the exception.

0 commit comments

Comments
 (0)