mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-27 13:22:11 +08:00
Stubgen assorted stdlib modules
This commit is contained in:
21
stdlib/3/runpy.pyi
Normal file
21
stdlib/3/runpy.pyi
Normal file
@@ -0,0 +1,21 @@
|
||||
# Stubs for runpy (Python 3.5)
|
||||
#
|
||||
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
||||
|
||||
from typing import Any
|
||||
|
||||
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=None, run_name=None, alter_sys=False): ...
|
||||
def run_path(path_name, init_globals=None, run_name=None): ...
|
||||
Reference in New Issue
Block a user