aboutsummaryrefslogtreecommitdiff
path: root/.venv/lib/python3.12/site-packages/attr/_cmp.pyi
blob: cc7893b04520afa719b1412c7646c3c1b39bf94b (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from typing import Any, Callable

_CompareWithType = Callable[[Any, Any], bool]

def cmp_using(
    eq: _CompareWithType | None = ...,
    lt: _CompareWithType | None = ...,
    le: _CompareWithType | None = ...,
    gt: _CompareWithType | None = ...,
    ge: _CompareWithType | None = ...,
    require_same_type: bool = ...,
    class_name: str = ...,
) -> type: ...