Skip to content

Commit 061ef82

Browse files
committed
Fix docstring of get_nowait().
1 parent 1d4bfc2 commit 061ef82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

asyncio/queues.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def get(self):
184184
def get_nowait(self):
185185
"""Remove and return an item from the queue.
186186
187-
Return an item if one is immediately available, else raise Full.
187+
Return an item if one is immediately available, else raise Empty.
188188
"""
189189
self._consume_done_putters()
190190
if self._putters:

0 commit comments

Comments
 (0)