]> granicus.if.org Git - python/commitdiff
asyncio: Fix docstring of get_nowait().
authorGuido van Rossum <guido@python.org>
Mon, 25 Nov 2013 06:41:35 +0000 (22:41 -0800)
committerGuido van Rossum <guido@python.org>
Mon, 25 Nov 2013 06:41:35 +0000 (22:41 -0800)
Lib/asyncio/queues.py

index 536de1cbc442dee0ae0c7b019dc2b03e7292b74b..3f5bf4479e60833049ac547cb74fd437054f484c 100644 (file)
@@ -184,7 +184,7 @@ class Queue:
     def get_nowait(self):
         """Remove and return an item from the queue.
 
-        Return an item if one is immediately available, else raise Full.
+        Return an item if one is immediately available, else raise Empty.
         """
         self._consume_done_putters()
         if self._putters: