Skip to content

Commit 12b636c

Browse files
authored
Fix pyright complaints
1 parent 8d34e56 commit 12b636c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stdlib/_operator.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ _K = TypeVar("_K")
1414
_V = TypeVar("_V")
1515
_P = ParamSpec("_P")
1616

17-
_SupportsComparison: TypeAlias = SupportsDunderLE | SupportsDunderGE | SupportsDunderGT | SupportsDunderLT
17+
_SupportsComparison: TypeAlias = SupportsDunderLE[Any] | SupportsDunderGE[Any] | SupportsDunderGT[Any] | SupportsDunderLT[Any]
1818

1919
@type_check_only
2020
class _SupportsInversion(Protocol[_T_co]):

0 commit comments

Comments
 (0)