os._AddedDllDirectory: add __init__ (#4498)

This commit is contained in:
Shantanu
2020-08-31 02:52:28 -07:00
committed by GitHub
parent 26ca4e75d8
commit fdd01b0036
2 changed files with 2 additions and 2 deletions

View File

@@ -840,6 +840,7 @@ if sys.version_info >= (3, 8):
if sys.platform == "win32":
class _AddedDllDirectory:
path: Optional[str]
def __init__(self, path: Optional[str], cookie: _T, remove_dll_directory: Callable[[_T], Any]) -> None: ...
def close(self) -> None: ...
def __enter__(self: _T) -> _T: ...
def __exit__(self, *args: Any) -> None: ...