Files
typeshed/stdlib/codeop.pyi
2022-09-30 13:08:41 +01:00

14 lines
444 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 __call__(self, source: str, filename: str, symbol: str) -> CodeType: ...
class CommandCompiler:
compiler: Compile
def __call__(self, source: str, filename: str = ..., symbol: str = ...) -> CodeType | None: ...