massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2 / shlex.pyi
1 from typing import Optional, List, Any, IO\r
2 \r
3 def split(s: Optional[str], comments: bool = ..., posix: bool = ...) -> List[str]: ...\r
4 \r
5 class shlex:\r
6     def __init__(self, instream: IO[Any] = ..., infile: IO[Any] = ..., posix: bool = ...) -> None: ...\r
7     def get_token(self) -> Optional[str]: ...\r
8     def push_token(self, _str: str) -> None: ...\r
9     def read_token(self) -> str: ...\r
10     def sourcehook(self, filename: str) -> None: ...\r
11     def push_source(self, stream: IO[Any], filename: str = ...) -> None: ...\r
12     def pop_source(self) -> IO[Any]: ...\r
13     def error_leader(self, file: str = ..., line: int = ...) -> str: ...\r
14 \r
15     commenters = ...  # type: str\r
16     wordchars = ...  # type: str\r
17     whitespace = ...  # type: str\r
18     escape = ...  # type: str\r
19     quotes = ...  # type: str\r
20     escapedquotes = ...  # type: str\r
21     whitespace_split = ...  # type: bool\r
22     infile = ...  # type: IO[Any]\r
23     source = ...  # type: Optional[str]\r
24     debug = ...  # type: int\r
25     lineno = ...  # type: int\r
26     token = ...  # type: Any\r
27     eof = ...  # type: Optional[str]\r