_cmp.pyi 318 B

1234567891011121314
  1. from typing import Type
  2. from . import _CompareWithType
  3. def cmp_using(
  4. eq: Optional[_CompareWithType],
  5. lt: Optional[_CompareWithType],
  6. le: Optional[_CompareWithType],
  7. gt: Optional[_CompareWithType],
  8. ge: Optional[_CompareWithType],
  9. require_same_type: bool,
  10. class_name: str,
  11. ) -> Type: ...