Kaydet (Commit) 16c42391 authored tarafından Guido van Rossum's avatar Guido van Rossum

asyncio: Fix docstring of get_nowait().

üst ded929b3
......@@ -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