mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-24 21:47:23 +08:00
stdlib: Improve a bunch of __(a)exit__ methods (#7571)
This commit is contained in:
1 parent
85f060b26d
commit
da3e69d093
20 files changed
+47
-28
No files matched your search
@@ -1021,7 +1021,7 @@ if sys.version_info >= (3, 8):
|
||||
def __init__(self, path: str | None, cookie: _T, remove_dll_directory: Callable[[_T], Any]) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
def __enter__(self: Self) -> Self: ...
|
||||
def __exit__(self, *args: Any) -> None: ...
|
||||
def __exit__(self, *args: object) -> None: ...
|
||||
|
||||
def add_dll_directory(path: str) -> _AddedDllDirectory: ...
|
||||
if sys.platform == "linux":
|
||||
|
||||
Reference in new issue
Block a user