diff --git a/stdlib/_typeshed/__init__.pyi b/stdlib/_typeshed/__init__.pyi index 0dfcca9d3b28..8d1aec65cbb7 100644 --- a/stdlib/_typeshed/__init__.pyi +++ b/stdlib/_typeshed/__init__.pyi @@ -88,16 +88,16 @@ class SupportsBool(Protocol): # Comparison protocols class SupportsDunderLT(Protocol[_T_contra]): - def __lt__(self, other: _T_contra, /) -> SupportsBool: ... + def __lt__(self, other: _T_contra, /) -> object: ... class SupportsDunderGT(Protocol[_T_contra]): - def __gt__(self, other: _T_contra, /) -> SupportsBool: ... + def __gt__(self, other: _T_contra, /) -> object: ... class SupportsDunderLE(Protocol[_T_contra]): - def __le__(self, other: _T_contra, /) -> SupportsBool: ... + def __le__(self, other: _T_contra, /) -> object: ... class SupportsDunderGE(Protocol[_T_contra]): - def __ge__(self, other: _T_contra, /) -> SupportsBool: ... + def __ge__(self, other: _T_contra, /) -> object: ... class SupportsAllComparisons( SupportsDunderLT[Any], SupportsDunderGT[Any], SupportsDunderLE[Any], SupportsDunderGE[Any], Protocol