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