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

@@ -117,7 +117,8 @@ class FieldStorage:
def __contains__(self, key: str) -> bool: ...
def __len__(self) -> int: ...
def __bool__(self) -> bool: ...
# In Python 3 it returns bytes or str IO depending on an internal flag
def __del__(self) -> None: ...
# Returns bytes or str IO depending on an internal flag
def make_file(self) -> IO[Any]: ...
def print_exception(