--- /dev/null
+# Stubs for queue\r
+\r
+# NOTE: These are incomplete!\r
+\r
+from typing import Any, TypeVar, Generic, Optional\r
+\r
+_T = TypeVar('_T')\r
+\r
+class Empty(Exception): ...\r
+class Full(Exception): ...\r
+\r
+class Queue(Generic[_T]):\r
+ maxsize = ... # type: int\r
+ def __init__(self, maxsize: int = ...) -> None: ...\r
+ def _init(self, maxsize: int) -> None: ...\r
+ def empty(self) -> bool: ...\r
+ def full(self) -> bool: ...\r
+ def get(self, block: bool = ..., timeout: Optional[float] = ...) -> _T: ...\r
+ def get_nowait(self) -> _T: ...\r
+ def _get(self) -> _T: ...\r
+ def put(self, item: _T, block: bool = ..., timeout: Optional[float] = ...) -> None: ...\r
+ def put_nowait(self, item: _T) -> None: ...\r
+ def _put(self, item: _T) -> None: ...\r
+ def join(self) -> None: ...\r
+ def qsize(self) -> int: ...\r
+ def _qsize(self) -> int: ...\r
+ def task_done(self) -> None: ...\r
+\r
+class PriorityQueue(Queue[_T]): ...\r
+class LifoQueue(Queue[_T]): ...\r