mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 12:44:33 +08:00
stdlib: add many missing __del__ methods (#11042)
This commit is contained in:
1 parent
e21a2c70b7
commit
83964a4dc5
21 files changed
+36
-1
No files matched your search
@@ -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: ...
|
||||
|
||||
Reference in new issue
Block a user