Change Queue.put return type to Future[None]

This commit is contained in:
Vita Smid authored and Matthias Kramm committed 2015-10-12 08:15:41 -07:00
1 parent b90372f226
commit 4d39065569
1 file changed
+1 -1
+1 -1
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]: ...