--- /dev/null
+# Stubs for Queue (Python 2)\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: Any\r
+ mutex = ... # type: Any\r
+ not_empty = ... # type: Any\r
+ not_full = ... # type: Any\r
+ all_tasks_done = ... # type: Any\r
+ unfinished_tasks = ... # type: Any\r
+ def __init__(self, maxsize: int = ...) -> None: ...\r
+ def task_done(self) -> None: ...\r
+ def join(self) -> None: ...\r
+ def qsize(self) -> int: ...\r
+ def empty(self) -> bool: ...\r
+ def full(self) -> bool: ...\r
+ def put(self, item: _T, block: bool = ..., timeout: Optional[float] = ...) -> None: ...\r
+ def put_nowait(self, item: _T) -> None: ...\r
+ def get(self, block: bool = ..., timeout: Optional[float] = ...) -> _T: ...\r
+ def get_nowait(self) -> _T: ...\r
+\r
+class PriorityQueue(Queue): ...\r
+class LifoQueue(Queue): ...\r