Format: application/octet-stream
⬇ Download File (1.0 KB)
   1  from typing import IO, Any, List, Optional, Text, TypeVar, Union
   2  
   3  def split(s: Optional[str], comments: bool = ..., posix: bool = ...) -> List[str]: ...
   4  
   5  _SLT = TypeVar("_SLT", bound=shlex)
   6  
   7  class shlex:
   8      def __init__(self, instream: Union[IO[Any], Text] = ..., infile: IO[Any] = ..., posix: bool = ...) -> None: ...
   9      def __iter__(self: _SLT) -> _SLT: ...
  10      def next(self) -> str: ...
  11      def get_token(self) -> Optional[str]: ...
  12      def push_token(self, _str: str) -> None: ...
  13      def read_token(self) -> str: ...
  14      def sourcehook(self, filename: str) -> None: ...
  15      def push_source(self, stream: IO[Any], filename: str = ...) -> None: ...
  16      def pop_source(self) -> IO[Any]: ...
  17      def error_leader(self, file: str = ..., line: int = ...) -> str: ...
  18      commenters: str
  19      wordchars: str
  20      whitespace: str
  21      escape: str
  22      quotes: str
  23      escapedquotes: str
  24      whitespace_split: bool
  25      infile: IO[Any]
  26      source: Optional[str]
  27      debug: int
  28      lineno: int
  29      token: Any
  30      eof: Optional[str]
  31