bpo-34613: document the correct value of limit argument of asyncio.St… · python/cpython@b4ec362 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit b4ec362
authored and
committed
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -146,10 +146,12 @@ and work with streams: | ||
146 | 146 | StreamReader |
147 | 147 | ============ |
148 | 148 | |
149 | -.. class:: StreamReader(limit=None, loop=None) | |
149 | +.. class:: StreamReader(limit=_DEFAULT_LIMIT, loop=None) | |
150 | 150 | |
151 | 151 | This class is :ref:`not thread safe <asyncio-multithreading>`. |
152 | 152 | |
153 | + The *limit* argument's default value is set to _DEFAULT_LIMIT which is 2**16 (64 KiB) | |
154 | + | |
153 | 155 | .. method:: exception() |
154 | 156 | |
155 | 157 | Get the exception. |