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 authored and Jelle Zijlstra committed 2018-03-22 07:59:13 -07:00
1 parent b9c5e811df
commit 9a6a7a2e75
1 file changed
-2
-2
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]):