mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
16 lines
516 B
Python
16 lines
516 B
Python
from types import CodeType
|
|
|
|
__all__ = ["compile_command", "Compile", "CommandCompiler"]
|
|
|
|
def compile_command(source: str, filename: str = ..., symbol: str = ...) -> CodeType | None: ...
|
|
|
|
class Compile:
|
|
flags: int
|
|
def __init__(self) -> None: ...
|
|
def __call__(self, source: str, filename: str, symbol: str) -> CodeType: ...
|
|
|
|
class CommandCompiler:
|
|
compiler: Compile
|
|
def __init__(self) -> None: ...
|
|
def __call__(self, source: str, filename: str = ..., symbol: str = ...) -> CodeType | None: ...
|