1 from _typeshed import Self
2 from types import ModuleType
8 def __init__(self, mod_name: str) -> None: ...
9 def __enter__(self: Self) -> Self: ...
10 def __exit__(self, *args: Any) -> None: ...
14 def __init__(self, value: Any) -> None: ...
15 def __enter__(self) -> None: ...
16 def __exit__(self, *args: Any) -> None: ...
19 mod_name: str, init_globals: dict[str, Any] | None = ..., run_name: str | None = ..., alter_sys: bool = ...
20 ) -> dict[str, Any]: ...
21 def run_path(path_name: str, init_globals: dict[str, Any] | None = ..., run_name: str | None = ...) -> dict[str, Any]: ...