stdlib: add many missing __del__ methods (#11042)

This commit is contained in:
Alex Waygood
2023-11-18 19:32:12 +00:00
committed by GitHub
parent e21a2c70b7
commit 83964a4dc5
21 changed files with 36 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ class Au_read:
def __init__(self, f: _File) -> None: ...
def __enter__(self) -> Self: ...
def __exit__(self, *args: Unused) -> None: ...
def __del__(self) -> None: ...
def getfp(self) -> IO[bytes] | None: ...
def rewind(self) -> None: ...
def close(self) -> None: ...
@@ -54,6 +55,7 @@ class Au_write:
def __init__(self, f: _File) -> None: ...
def __enter__(self) -> Self: ...
def __exit__(self, *args: Unused) -> None: ...
def __del__(self) -> None: ...
def setnchannels(self, nchannels: int) -> None: ...
def getnchannels(self) -> int: ...
def setsampwidth(self, sampwidth: int) -> None: ...