asyncio: add a note about (non) thread safety in each class

This commit is contained in:
Victor Stinner 2015-02-25 14:24:15 +01:00
parent 532c69a428
commit 83704963c0
6 changed files with 22 additions and 0 deletions

View file

@ -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.