Remove empty __init__ methods (#8816)

This commit is contained in:
Nikita Sobolev authored and GitHub committed 2022-09-30 13:08:41 +01:00
1 parent deff426b6f
commit 380022c650
33 files changed
+1 -44

No files matched your search

-3
View File
@@ -35,7 +35,6 @@ _T = TypeVar("_T")
_P = ParamSpec("_P")
class Future(Generic[_T]):
def __init__(self) -> None: ...
def cancel(self) -> bool: ...
def cancelled(self) -> bool: ...
def running(self) -> bool: ...
@@ -90,14 +89,12 @@ def wait(fs: Iterable[Future[_T]], timeout: float | None = ..., return_when: str
class _Waiter:
event: threading.Event
finished_futures: list[Future[Any]]
def __init__(self) -> None: ...
def add_result(self, future: Future[Any]) -> None: ...
def add_exception(self, future: Future[Any]) -> None: ...
def add_cancelled(self, future: Future[Any]) -> None: ...
class _AsCompletedWaiter(_Waiter):
lock: threading.Lock
def __init__(self) -> None: ...
class _FirstCompletedWaiter(_Waiter): ...
-1
View File
@@ -19,7 +19,6 @@ class _ThreadWakeup:
_closed: bool
_reader: Connection
_writer: Connection
def __init__(self) -> None: ...
def close(self) -> None: ...
def wakeup(self) -> None: ...
def clear(self) -> None: ...