Skip to content

Commit 9a6a7a2

Browse files
matthewfranglenJelleZijlstra
authored andcommitted
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.
1 parent b9c5e81 commit 9a6a7a2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

stdlib/3/concurrent/futures/_base.pyi

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ class Error(Exception): ...
1414
class CancelledError(Error): ...
1515
class TimeoutError(Error): ...
1616

17-
DoneAndNotDoneFutures = NamedTuple('DoneAndNotDoneFutures', [('done', Future[Any]), ('not_done', Future[Any])])
18-
1917
_T = TypeVar('_T')
2018

2119
class Future(Generic[_T]):

0 commit comments

Comments
 (0)