from typing import (Any,
                    Callable,
                    TypeVar)

Domain = TypeVar('Domain')
Key = Callable[[Domain], Any]
Comparator = Callable[[Domain, Domain], bool]

c2f1f91e4638eddb9319cc965a6582394fb2d6cd
<mask token>

<mask token>
Domain = TypeVar('Domain')
Key = Callable[[Domain], Any]
Comparator = Callable[[Domain, Domain], bool]

from typing import Any, Callable, TypeVar
Domain = TypeVar('Domain')
Key = Callable[[Domain], Any]
Comparator = Callable[[Domain, Domain], bool]

from typing import (Any,
                    Callable,
                    TypeVar)

Domain = TypeVar('Domain')
Key = Callable[[Domain], Any]
Comparator = Callable[[Domain, Domain], bool]
