_quoting_c.pyi 447 B

12345678910111213141516
  1. from typing import Optional
  2. class _Quoter:
  3. def __init__(
  4. self,
  5. *,
  6. safe: str = ...,
  7. protected: str = ...,
  8. qs: bool = ...,
  9. requote: bool = ...
  10. ) -> None: ...
  11. def __call__(self, val: Optional[str] = ...) -> Optional[str]: ...
  12. class _Unquoter:
  13. def __init__(self, *, unsafe: str = ..., qs: bool = ...) -> None: ...
  14. def __call__(self, val: Optional[str] = ...) -> Optional[str]: ...