diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-02-25 14:24:15 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-02-25 14:24:15 +0100 |
commit | 83704963c0d4e7b1474d6102ed6287a7ae4907a8 (patch) | |
tree | 2c959817bccdef128ceca8f8f95311bbd693175f /Doc/library/asyncio-stream.rst | |
parent | 532c69a4280185de3faf198776b6d5d75bdec095 (diff) | |
download | cpython-git-83704963c0d4e7b1474d6102ed6287a7ae4907a8.tar.gz |
asyncio: add a note about (non) thread safety in each class
Diffstat (limited to 'Doc/library/asyncio-stream.rst')
-rw-r--r-- | Doc/library/asyncio-stream.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/asyncio-stream.rst b/Doc/library/asyncio-stream.rst index 22b7341cb7..41b24acaaf 100644 --- a/Doc/library/asyncio-stream.rst +++ b/Doc/library/asyncio-stream.rst @@ -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. |