Format: application/octet-stream
⬇ Download File (448 B)
   1  from typing import List, Tuple
   2  
   3  class GetoptError(Exception):
   4      opt: str
   5      msg: str
   6      def __init__(self, msg: str, opt: str = ...) -> None: ...
   7      def __str__(self) -> str: ...
   8  
   9  error = GetoptError
  10  
  11  def getopt(args: List[str], shortopts: str, longopts: List[str] = ...) -> Tuple[List[Tuple[str, str]], List[str]]: ...
  12  def gnu_getopt(args: List[str], shortopts: str, longopts: List[str] = ...) -> Tuple[List[Tuple[str, str]], List[str]]: ...
  13