mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 19:32:13 +08:00
Remove empty __init__ methods (#8816)
This commit is contained in:
@@ -9,7 +9,6 @@ MAXFDS_TO_SEND: int
|
||||
SIGNED_STRUCT: Struct
|
||||
|
||||
class ForkServer:
|
||||
def __init__(self) -> None: ...
|
||||
def set_forkserver_preload(self, modules_names: list[str]) -> None: ...
|
||||
def get_inherited_fds(self) -> list[int] | None: ...
|
||||
def connect_to_new_process(self, fds: Sequence[int]) -> tuple[int, int]: ...
|
||||
|
||||
@@ -4,7 +4,6 @@ from collections.abc import Sized
|
||||
__all__ = ["ensure_running", "register", "unregister"]
|
||||
|
||||
class ResourceTracker:
|
||||
def __init__(self) -> None: ...
|
||||
def getfd(self) -> int | None: ...
|
||||
def ensure_running(self) -> None: ...
|
||||
def register(self, name: Sized, rtype: Incomplete) -> None: ...
|
||||
|
||||
@@ -69,12 +69,10 @@ def is_exiting() -> bool: ...
|
||||
class ForkAwareThreadLock:
|
||||
acquire: Callable[[bool, float], bool]
|
||||
release: Callable[[], None]
|
||||
def __init__(self) -> None: ...
|
||||
def __enter__(self) -> bool: ...
|
||||
def __exit__(self, *args: object) -> None: ...
|
||||
|
||||
class ForkAwareLocal(threading.local):
|
||||
def __init__(self) -> None: ...
|
||||
class ForkAwareLocal(threading.local): ...
|
||||
|
||||
MAXFD: int
|
||||
|
||||
|
||||
Reference in New Issue
Block a user