mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
asyncio: Sync with github repo
This commit is contained in:
parent
a032e46df6
commit
90ecfe65e6
5 changed files with 110 additions and 36 deletions
|
@ -1,6 +1,7 @@
|
|||
"""Queues"""
|
||||
|
||||
__all__ = ['Queue', 'PriorityQueue', 'LifoQueue', 'QueueFull', 'QueueEmpty']
|
||||
__all__ = ['Queue', 'PriorityQueue', 'LifoQueue', 'QueueFull', 'QueueEmpty',
|
||||
'JoinableQueue']
|
||||
|
||||
import collections
|
||||
import heapq
|
||||
|
@ -286,3 +287,7 @@ class LifoQueue(Queue):
|
|||
|
||||
def _get(self):
|
||||
return self._queue.pop()
|
||||
|
||||
|
||||
JoinableQueue = Queue
|
||||
"""Deprecated alias for Queue."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue