diff options
author | Guido van Rossum <guido@python.org> | 2013-11-25 06:41:35 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2013-11-25 06:41:35 (GMT) |
commit | 16c42391f104100836b94c1c7564e7248bbada7a (patch) | |
tree | 5196c738e1f4a12409ec5b41e9b375973a879dd8 | |
parent | ded929b3008e466feeb115eef2d06adb775330b4 (diff) | |
download | cpython-16c42391f104100836b94c1c7564e7248bbada7a.zip cpython-16c42391f104100836b94c1c7564e7248bbada7a.tar.gz cpython-16c42391f104100836b94c1c7564e7248bbada7a.tar.bz2 |
asyncio: Fix docstring of get_nowait().
-rw-r--r-- | Lib/asyncio/queues.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/queues.py b/Lib/asyncio/queues.py index 536de1c..3f5bf44 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: |