mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 02:31:09 +08:00
The generic type of the futures provided to the wait method cannot currently be preserved through this definition. For now deleting the unused NamedTuple is the best approach.
This commit is contained in:
1 parent
b9c5e811df
commit
9a6a7a2e75
1 file changed
-2
@@ -14,8 +14,6 @@ class Error(Exception): ...
|
||||
class CancelledError(Error): ...
|
||||
class TimeoutError(Error): ...
|
||||
|
||||
DoneAndNotDoneFutures = NamedTuple('DoneAndNotDoneFutures', [('done', Future[Any]), ('not_done', Future[Any])])
|
||||
|
||||
_T = TypeVar('_T')
|
||||
|
||||
class Future(Generic[_T]):
|
||||
|
||||
Reference in new issue
Block a user