##// END OF EJS Templates
phases: gather the logic for phasesets update in a single method...
phases: gather the logic for phasesets update in a single method This logic is duplicated around for no good reason, we gather it in a single place. The conditional is the new function are a bit weird as we about going to extend it soon.

File last commit:

r50538:e1c586b9 default
r52308:1df8d84e default
Show More
_cmp.pyi
13 lines | 357 B | text/x-python | PythonLexer
from typing import Any, Callable, Optional, Type
_CompareWithType = Callable[[Any, Any], bool]
def cmp_using(
eq: Optional[_CompareWithType],
lt: Optional[_CompareWithType],
le: Optional[_CompareWithType],
gt: Optional[_CompareWithType],
ge: Optional[_CompareWithType],
require_same_type: bool,
class_name: str,
) -> Type: ...