Clean out the pytype blacklist (#1667)

This commit is contained in:
Martin DeMello
2017-10-24 10:38:34 -07:00
committed by Matthias Kramm
parent 9e76d44b09
commit 817c270c32
6 changed files with 17 additions and 47 deletions

View File

@@ -1,5 +1,5 @@
import sys
from typing import Any, Union, Callable, TypeVar, List, Generic, Iterable, Generator, Awaitable
from typing import Any, Union, Callable, TypeVar, Type, List, Generic, Iterable, Generator, Awaitable
from .events import AbstractEventLoop
from concurrent.futures import (
CancelledError as CancelledError,
@@ -31,7 +31,7 @@ class Future(Iterable[_T], Awaitable[_T], Generic[_T]):
_exception = ... # type: BaseException
_blocking = False
_log_traceback = False
_tb_logger = _TracebackLogger
_tb_logger = ... # type: Type[_TracebackLogger]
def __init__(self, *, loop: AbstractEventLoop = ...) -> None: ...
def __repr__(self) -> str: ...
def __del__(self) -> None: ...