diff --git a/stdlib/3.4/asyncio/queues.pyi b/stdlib/3.4/asyncio/queues.pyi index 2b7b0945f..dbf4b59a0 100644 --- a/stdlib/3.4/asyncio/queues.pyi +++ b/stdlib/3.4/asyncio/queues.pyi @@ -5,6 +5,7 @@ __all__ = ['Queue', 'PriorityQueue', 'LifoQueue', 'JoinableQueue', from asyncio.events import AbstractEventLoop from .tasks import coroutine +from .futures import Future class QueueEmpty(Exception): ... @@ -28,10 +29,10 @@ class Queue(Generic[T]): def empty(self) -> bool: ... def full(self) -> bool: ... @coroutine - def put(self, item: T) -> None: ... + def put(self, item: T) -> Future: ... def put_nowait(self, item: T) -> None: ... @coroutine - def get(self) -> T: ... + def get(self) -> Future[T]: ... def get_nowait(self) -> T: ...