mercurial/thirdparty/attr/_cmp.pyi
changeset 49643 e1c586b9a43c
equal deleted inserted replaced
49642:7e6f3c69c0fb 49643:e1c586b9a43c
       
     1 from typing import Any, Callable, Optional, Type
       
     2 
       
     3 _CompareWithType = Callable[[Any, Any], bool]
       
     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: ...