mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 12:01:52 +08:00
Clean out the pytype blacklist (#1667)
This commit is contained in:
committed by
Matthias Kramm
parent
9e76d44b09
commit
817c270c32
@@ -1,5 +1,4 @@
|
||||
from typing import TypeVar, Generic, Any, Iterable, Iterator, Callable, Tuple, Optional, Set
|
||||
from collections import namedtuple
|
||||
from typing import TypeVar, Generic, Any, Iterable, Iterator, Callable, Tuple, Optional, Set, NamedTuple
|
||||
|
||||
FIRST_COMPLETED = ... # type: str
|
||||
FIRST_EXCEPTION = ... # type: str
|
||||
@@ -15,7 +14,7 @@ class Error(Exception): ...
|
||||
class CancelledError(Error): ...
|
||||
class TimeoutError(Error): ...
|
||||
|
||||
DoneAndNotDoneFutures = namedtuple('DoneAndNotDoneFutures', 'done not_done')
|
||||
DoneAndNotDoneFutures = NamedTuple('DoneAndNotDoneFutures', [('done', Future[Any]), ('not_done', Future[Any])])
|
||||
|
||||
_T = TypeVar('_T')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user