From: Guido van Rossum Date: Mon, 25 Nov 2013 06:41:35 +0000 (-0800) Subject: asyncio: Fix docstring of get_nowait(). X-Git-Tag: v3.4.0b2~498 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16c42391f104100836b94c1c7564e7248bbada7a;p=thirdparty%2FPython%2Fcpython.git asyncio: Fix docstring of get_nowait(). --- diff --git a/Lib/asyncio/queues.py b/Lib/asyncio/queues.py index 536de1cbc442..3f5bf4479e60 100644 --- a/Lib/asyncio/queues.py +++ b/Lib/asyncio/queues.py @@ -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: