mirror of
https://github.com/python/cpython.git
synced 2025-10-07 07:31:46 +00:00
asyncio: Fix docstring of get_nowait().
This commit is contained in:
parent
ded929b300
commit
16c42391f1
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ class Queue:
|
||||||
def get_nowait(self):
|
def get_nowait(self):
|
||||||
"""Remove and return an item from the queue.
|
"""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()
|
self._consume_done_putters()
|
||||||
if self._putters:
|
if self._putters:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue