mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
Change Queue.put return type to Future[None]
This commit is contained in:
committed by
Matthias Kramm
parent
b90372f226
commit
4d39065569
@@ -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]: ...
|
||||
|
||||
Reference in New Issue
Block a user