summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-02-03 14:12:13 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-02-03 14:12:13 (GMT)
commit72777614287a3f0feaaf1d0987ec275e94ede280 (patch)
tree4c067baea898c6241dca95706121d1cfc936a4b5 /Lib/asyncio
parentb9765eec5cbc149120acb50646256cffde94d74f (diff)
parent17d87f8ae42122025b5ce41230df6ba9e042ec40 (diff)
downloadcpython-72777614287a3f0feaaf1d0987ec275e94ede280.zip
cpython-72777614287a3f0feaaf1d0987ec275e94ede280.tar.gz
cpython-72777614287a3f0feaaf1d0987ec275e94ede280.tar.bz2
Merge 3.4 (asyncio doc)
Diffstat (limited to 'Lib/asyncio')
-rw-r--r--Lib/asyncio/queues.py8
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