Files
typeshed/stdlib/2/runpy.pyi
2018-11-20 07:35:06 -08:00

18 lines
583 B
Python

from typing import Any, Optional
class _TempModule:
mod_name = ... # type: Any
module = ... # type: Any
def __init__(self, mod_name): ...
def __enter__(self): ...
def __exit__(self, *args): ...
class _ModifiedArgv0:
value = ... # type: Any
def __init__(self, value): ...
def __enter__(self): ...
def __exit__(self, *args): ...
def run_module(mod_name, init_globals: Optional[Any] = ..., run_name: Optional[Any] = ..., alter_sys: bool = ...): ...
def run_path(path_name, init_globals: Optional[Any] = ..., run_name: Optional[Any] = ...): ...