mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
asyncio: add a note about (non) thread safety in each class
This commit is contained in:
parent
532c69a428
commit
83704963c0
6 changed files with 22 additions and 0 deletions
|
@ -85,6 +85,8 @@ StreamReader
|
|||
|
||||
.. class:: StreamReader(limit=None, loop=None)
|
||||
|
||||
This class is :ref:`not thread safe <asyncio-multithreading>`.
|
||||
|
||||
.. method:: exception()
|
||||
|
||||
Get the exception.
|
||||
|
@ -155,6 +157,8 @@ StreamWriter
|
|||
wait for flow control. It also adds a transport attribute which references
|
||||
the :class:`Transport` directly.
|
||||
|
||||
This class is :ref:`not thread safe <asyncio-multithreading>`.
|
||||
|
||||
.. attribute:: transport
|
||||
|
||||
Transport.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue