Format: application/octet-stream
⬇ Download File (1.1 KB)
   1  from typing import List, Sequence
   2  
   3  lowercase: str
   4  uppercase: str
   5  whitespace: str
   6  
   7  def atof(a: str) -> float: ...
   8  def atoi(a: str, base: int = ...) -> int: ...
   9  def atol(a: str, base: int = ...) -> long: ...
  10  def capitalize(s: str) -> str: ...
  11  def count(s: str, sub: str, start: int = ..., end: int = ...) -> int: ...
  12  def expandtabs(string: str, tabsize: int = ...) -> str: ...
  13  def find(s: str, sub: str, start: int = ..., end: int = ...) -> int: ...
  14  def join(list: Sequence[str], sep: str = ...) -> str: ...
  15  def joinfields(list: Sequence[str], sep: str = ...) -> str: ...
  16  def lower(s: str) -> str: ...
  17  def lstrip(s: str) -> str: ...
  18  def maketrans(frm: str, to: str) -> str: ...
  19  def replace(s: str, old: str, new: str, maxsplit: int = ...) -> str: ...
  20  def rfind(s: str, sub: str, start: int = ..., end: int = ...) -> int: ...
  21  def rstrip(s: str) -> str: ...
  22  def split(s: str, sep: str, maxsplit: int = ...) -> List[str]: ...
  23  def splitfields(s: str, sep: str, maxsplit: int = ...) -> List[str]: ...
  24  def strip(s: str) -> str: ...
  25  def swapcase(s: str) -> str: ...
  26  def translate(s: str, table: str, deletechars: str = ...) -> str: ...
  27  def upper(s: str) -> str: ...
  28