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
@@ -26,6 +26,7 @@ class Wave_read:
|
||||
def __init__(self, f: _File) -> None: ...
|
||||
def __enter__(self) -> Self: ...
|
||||
def __exit__(self, *args: Unused) -> None: ...
|
||||
def __del__(self) -> None: ...
|
||||
def getfp(self) -> BinaryIO | None: ...
|
||||
def rewind(self) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
@@ -48,6 +49,7 @@ class Wave_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