Change Queue.put return type to Future[None]

This commit is contained in:
Vita Smid
2015-09-15 17:09:33 +02:00
committed by Matthias Kramm
parent b90372f226
commit 4d39065569

View File

@@ -29,7 +29,7 @@ class Queue(Generic[T]):
def empty(self) -> bool: ...
def full(self) -> bool: ...
@coroutine
def put(self, item: T) -> Future: ...
def put(self, item: T) -> Future[None]: ...
def put_nowait(self, item: T) -> None: ...
@coroutine
def get(self) -> Future[T]: ...