mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
#23464: remove JoinableQueue that was deprecated in 3.4.4.
Patch by A. Jesse Jiryu Davis.
This commit is contained in:
parent
5646de47e1
commit
e81a773352
4 changed files with 7 additions and 17 deletions
|
@ -1,7 +1,6 @@
|
|||
"""Queues"""
|
||||
|
||||
__all__ = ['Queue', 'PriorityQueue', 'LifoQueue', 'QueueFull', 'QueueEmpty',
|
||||
'JoinableQueue']
|
||||
__all__ = ['Queue', 'PriorityQueue', 'LifoQueue', 'QueueFull', 'QueueEmpty']
|
||||
|
||||
import collections
|
||||
import heapq
|
||||
|
@ -280,7 +279,3 @@ 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