mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 08:17:07 +08:00
Remove empty __init__ methods (#8816)
This commit is contained in:
@@ -13,7 +13,6 @@ __all__ = ["TaskGroup"]
|
||||
_T = TypeVar("_T")
|
||||
|
||||
class TaskGroup:
|
||||
def __init__(self) -> None: ...
|
||||
async def __aenter__(self: Self) -> Self: ...
|
||||
async def __aexit__(self, et: type[BaseException] | None, exc: BaseException | None, tb: TracebackType | None) -> None: ...
|
||||
def create_task(
|
||||
|
||||
@@ -118,7 +118,6 @@ if sys.platform != "win32":
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
class PidfdChildWatcher(AbstractChildWatcher):
|
||||
def __init__(self) -> None: ...
|
||||
def __enter__(self: Self) -> Self: ...
|
||||
def __exit__(
|
||||
self, exc_type: type[BaseException] | None, exc_val: BaseException | None, exc_tb: types.TracebackType | None
|
||||
|
||||
Reference in New Issue
Block a user