See #1977: Delete DoneAndNotDoneFutures definition (#1978)

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:
matthewfranglen
2018-03-22 14:59:13 +00:00
committed by Jelle Zijlstra
parent b9c5e811df
commit 9a6a7a2e75

View File

@@ -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]):