mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
Queue stubs: Make LIFOQueue and PriorityQueue generic (#1538)
This commit is contained in:
committed by
Jelle Zijlstra
parent
7fe417ca58
commit
10a3e43a19
@@ -26,5 +26,5 @@ class Queue(Generic[_T]):
|
||||
def _qsize(self) -> int: ...
|
||||
def task_done(self) -> None: ...
|
||||
|
||||
class PriorityQueue(Queue): ...
|
||||
class LifoQueue(Queue): ...
|
||||
class PriorityQueue(Queue[_T]): ...
|
||||
class LifoQueue(Queue[_T]): ...
|
||||
|
||||
Reference in New Issue
Block a user