diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-02-03 14:09:24 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-02-03 14:09:24 (GMT) |
commit | 17d87f8ae42122025b5ce41230df6ba9e042ec40 (patch) | |
tree | a126c59405c2b6b93381df8bdc9e245ae810001b /Lib | |
parent | 3265344a85a2bac749230c2d6ef1b20edcd63906 (diff) | |
download | cpython-17d87f8ae42122025b5ce41230df6ba9e042ec40.zip cpython-17d87f8ae42122025b5ce41230df6ba9e042ec40.tar.gz cpython-17d87f8ae42122025b5ce41230df6ba9e042ec40.tar.bz2 |
asyncio, Tulip issue 221: Fix doc of QueueEmpty and QueueFull
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/asyncio/queues.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Lib/asyncio/queues.py b/Lib/asyncio/queues.py index dce0d53..4aeb6c4 100644 --- a/Lib/asyncio/queues.py +++ b/Lib/asyncio/queues.py @@ -13,12 +13,16 @@ from .tasks import coroutine class QueueEmpty(Exception): - 'Exception raised by Queue.get(block=0)/get_nowait().' + """Exception raised when Queue.get_nowait() is called on a Queue object + which is empty. + """ pass class QueueFull(Exception): - 'Exception raised by Queue.put(block=0)/put_nowait().' + """Exception raised when the Queue.put_nowait() method is called on a Queue + object which is full. + """ pass |