Commit 5a8c1552 authored by Guido van Rossum's avatar Guido van Rossum

asyncio: Fix docstring of get_nowait().

parent 2e924d98
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment