Remove empty __init__ methods (#8816)

This commit is contained in:
Nikita Sobolev
2022-09-30 15:08:41 +03:00
committed by GitHub
parent deff426b6f
commit 380022c650
33 changed files with 1 additions and 44 deletions

View File

@@ -102,7 +102,6 @@ class _DummyThread(Thread):
def __init__(self) -> None: ...
class Lock:
def __init__(self) -> None: ...
def __enter__(self) -> bool: ...
def __exit__(
self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: TracebackType | None
@@ -112,7 +111,6 @@ class Lock:
def locked(self) -> bool: ...
class _RLock:
def __init__(self) -> None: ...
def acquire(self, blocking: bool = ..., timeout: float = ...) -> bool: ...
def release(self) -> None: ...
__enter__ = acquire
@@ -148,7 +146,6 @@ class Semaphore:
class BoundedSemaphore(Semaphore): ...
class Event:
def __init__(self) -> None: ...
def is_set(self) -> bool: ...
def isSet(self) -> bool: ... # deprecated alias for is_set()
def set(self) -> None: ...