Debian Codegraph @

jedi/third_party/typeshed/stdlib/codeop.pyi

raw symbols SCIP
1 import sys
2 from types import CodeType
3
4 __all__ = ["compile_command", "Compile", "CommandCompiler"]
5
6 if sys.version_info >= (3, 14):
7 def compile_command(source: str, filename: str = "<input>", symbol: str = "single", flags: int = 0) -> CodeType | None: ...
8
9 else:
10 def compile_command(source: str, filename: str = "<input>", symbol: str = "single") -> CodeType | None: ...
11
12 class Compile:
13 flags: int
14 if sys.version_info >= (3, 13):
15 def __call__(self, source: str, filename: str, symbol: str, flags: int = 0) -> CodeType: ...
16 else:
17 def __call__(self, source: str, filename: str, symbol: str) -> CodeType: ...
18
19 class CommandCompiler:
20 compiler: Compile
21 def __call__(self, source: str, filename: str = "<input>", symbol: str = "single") -> CodeType | None: ...