Files
typeshed/stdlib/2and3/codeop.pyi
Shantanu 6ff5b88ca7 typeshed: remove crufty comments (#4699)
Co-authored-by: hauntsaninja <>
2020-10-23 09:40:06 +02:00

15 lines
489 B
Python

from types import CodeType
from typing import Optional
def compile_command(source: str, filename: str = ..., symbol: str = ...) -> Optional[CodeType]: ...
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 = ...) -> Optional[CodeType]: ...