File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 3535 _contraT = typing .TypeVar ("_contraT" , contravariant = True )
3636
3737 class LT (typing .Protocol [_contraT ]):
38- def __lt__ (self , other : _contraT ) -> bool :
39- ...
38+ def __lt__ (self , other : _contraT ) -> bool : ...
4039
4140 class GT (typing .Protocol [_contraT ]):
42- def __gt__ (self , other : _contraT ) -> bool :
43- ...
41+ def __gt__ (self , other : _contraT ) -> bool : ...
4442
4543 type HeapqOrderable = LT [t .Any ] | GT [t .Any ]
4644
@@ -55,12 +53,10 @@ def __class_getitem__(cls, key: None) -> t.Any:
5553 _contraT = typing .TypeVar ("_contraT" , contravariant = True ) # noqa: RUF052
5654
5755 class LT (typing .Protocol [_contraT ]):
58- def __lt__ (self , other : _contraT ) -> bool :
59- ...
56+ def __lt__ (self , other : _contraT ) -> bool : ...
6057
6158 class GT (typing .Protocol [_contraT ]):
62- def __gt__ (self , other : _contraT ) -> bool :
63- ...
59+ def __gt__ (self , other : _contraT ) -> bool : ...
6460
6561 return LT [t .Any ] | GT [t .Any ]
6662
You can’t perform that action at this time.
0 commit comments