From 17d87f8ae42122025b5ce41230df6ba9e042ec40 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 3 Feb 2015 15:09:24 +0100 Subject: asyncio, Tulip issue 221: Fix doc of QueueEmpty and QueueFull --- Lib/asyncio/queues.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Lib/asyncio') diff --git a/Lib/asyncio/queues.py b/Lib/asyncio/queues.py index dce0d53c70..4aeb6c4517 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 -- cgit v1.2.1