massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2 / compileall.pyi
1 # Stubs for compileall (Python 2)\r
2 \r
3 from typing import Optional, Pattern, Union\r
4 \r
5 _Path = Union[str, bytes]\r
6 \r
7 # rx can be any object with a 'search' method; once we have Protocols we can change the type\r
8 def compile_dir(dir: _Path, maxlevels: int = ..., ddir: Optional[_Path] = ..., force: bool = ..., rx: Optional[Pattern] = ..., quiet: int = ...) -> int: ...\r
9 def compile_file(fullname: _Path, ddir: Optional[_Path] = ..., force: bool = ..., rx: Optional[Pattern] = ..., quiet: int = ...) -> int: ...\r
10 def compile_path(skip_curdir: bool = ..., maxlevels: int = ..., force: bool = ..., quiet: int = ...) -> int: ...\r