mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +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:
committed by
Jelle Zijlstra
parent
b9c5e811df
commit
9a6a7a2e75
@@ -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