Format: application/octet-stream
⬇ Download File (2.0 KB)
   1  from typing import AnyStr, Iterable, List, Optional, Type
   2  
   3  whitespace: str
   4  lowercase: str
   5  uppercase: str
   6  letters: str
   7  digits: str
   8  hexdigits: str
   9  octdigits: str
  10  _idmap: str
  11  _idmapL: Optional[List[str]]
  12  index_error = ValueError
  13  atoi_error = ValueError
  14  atof_error = ValueError
  15  atol_error = ValueError
  16  
  17  def lower(s: AnyStr) -> AnyStr: ...
  18  def upper(s: AnyStr) -> AnyStr: ...
  19  def swapcase(s: AnyStr) -> AnyStr: ...
  20  def strip(s: AnyStr) -> AnyStr: ...
  21  def lstrip(s: AnyStr) -> AnyStr: ...
  22  def rstrip(s: AnyStr) -> AnyStr: ...
  23  def split(s: AnyStr, sep: AnyStr = ..., maxsplit: int = ...) -> List[AnyStr]: ...
  24  def splitfields(s: AnyStr, sep: AnyStr = ..., maxsplit: int = ...) -> List[AnyStr]: ...
  25  def join(words: Iterable[AnyStr], sep: AnyStr = ...) -> AnyStr: ...
  26  def joinfields(words: Iterable[AnyStr], sep: AnyStr = ...) -> AnyStr: ...
  27  def index(s: unicode, sub: unicode, start: int = ..., end: int = ...) -> int: ...
  28  def rindex(s: unicode, sub: unicode, start: int = ..., end: int = ...) -> int: ...
  29  def count(s: unicode, sub: unicode, start: int = ..., end: int = ...) -> int: ...
  30  def find(s: unicode, sub: unicode, start: int = ..., end: int = ...) -> int: ...
  31  def rfind(s: unicode, sub: unicode, start: int = ..., end: int = ...) -> int: ...
  32  def atof(s: unicode) -> float: ...
  33  def atoi(s: unicode, base: int = ...) -> int: ...
  34  def atol(s: unicode, base: int = ...) -> long: ...
  35  def ljust(s: AnyStr, width: int, fillchar: AnyStr = ...) -> AnyStr: ...
  36  def rjust(s: AnyStr, width: int, fillchar: AnyStr = ...) -> AnyStr: ...
  37  def center(s: AnyStr, width: int, fillchar: AnyStr = ...) -> AnyStr: ...
  38  def zfill(s: AnyStr, width: int) -> AnyStr: ...
  39  def expandtabs(s: AnyStr, tabsize: int = ...) -> AnyStr: ...
  40  def translate(s: str, table: str, deletions: str = ...) -> str: ...
  41  def capitalize(s: AnyStr) -> AnyStr: ...
  42  def capwords(s: AnyStr, sep: AnyStr = ...) -> AnyStr: ...
  43  def maketrans(fromstr: str, tostr: str) -> str: ...
  44  def replace(s: AnyStr, old: AnyStr, new: AnyStr, maxreplace: int = ...) -> AnyStr: ...
  45