massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2and3 / codeop.pyi
1 # Source(py2): https://hg.python.org/cpython/file/2.7/Lib/codeop.py\r
2 # Source(py3): https://github.com/python/cpython/blob/master/Lib/codeop.py\r
3 \r
4 from types import CodeType\r
5 from typing import Optional\r
6 \r
7 def compile_command(source: str, filename: str = ..., symbol: str = ...) -> Optional[CodeType]: ...\r
8 \r
9 class Compile:\r
10     flags = ...  # type: int\r
11     def __init__(self) -> None: ...\r
12     def __call__(self, source: str, filename: str, symbol: str) -> CodeType: ...\r
13 \r
14 class CommandCompiler:\r
15     compiler = ...  # type: Compile\r
16     def __init__(self) -> None: ...\r
17     def __call__(self, source: str, filename: str = ..., symbol: str = ...) -> Optional[CodeType]: ...\r