Files
typeshed/stdlib/@python2/runpy.pyi
2021-08-14 11:12:30 +02:00

18 lines
519 B
Python

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