Typing
PartialLess
Bases: Protocol[T]
Represents types that implement the less operation (self < other)
where other is of type T.
Source code in orderings/typing.py
28 29 30 31 32 33 34 35 | |
Less
Bases: Protocol
Represents types that implement the less operation (self < other)
where other is of type Self.
Source code in orderings/typing.py
38 39 40 41 42 43 44 45 | |
PartialGreater
Bases: Protocol[T]
Represents types that implement the greater operation (self > other)
where other is of type T.
Source code in orderings/typing.py
48 49 50 51 52 53 54 55 | |
Greater
Bases: Protocol
Represents types that implement the greater operation (self > other)
where other is of type Self.
Source code in orderings/typing.py
58 59 60 61 62 63 64 65 | |
PartialStrictOrdered
Bases: PartialLess[T], PartialGreater[T], Protocol[T]
Represents types that implement both PartialLess[T]
and PartialGreater[T] protocols.
Source code in orderings/typing.py
68 69 70 71 72 | |
StrictOrdered
Bases: Less, Greater, Protocol
Represents types that implement both Less
and Greater protocols.
Source code in orderings/typing.py
75 76 77 78 79 | |
PartialLessOrEqual
Bases: Protocol[T]
Represents types that implement the less-or-equal operation (self <= other)
where other is of type T.
Source code in orderings/typing.py
82 83 84 85 86 87 88 89 | |
LessOrEqual
Bases: Protocol
Represents types that implement the less-or-equal operation (self <= other)
where other is of type Self.
Source code in orderings/typing.py
92 93 94 95 96 97 98 99 | |
PartialGreaterOrEqual
Bases: Protocol[T]
Represents types that implement the greater-or-equal operation (self >= other)
where other is of type T.
Source code in orderings/typing.py
102 103 104 105 106 107 108 109 | |
GreaterOrEqual
Bases: Protocol
Represents types that implement the greater-or-equal operation (self >= other)
where other is of type Self.
Source code in orderings/typing.py
112 113 114 115 116 117 118 119 | |
PartialLenientOrdered
Bases: PartialLessOrEqual[T], PartialGreaterOrEqual[T], Protocol[T]
Represents types that implement both
PartialLessOrEqual[T] and
PartialGreaterOrEqual[T] protocols.
Source code in orderings/typing.py
122 123 124 125 126 127 | |
LenientOrdered
Bases: LessOrEqual, GreaterOrEqual, Protocol
Represents types that implement both LessOrEqual
and GreaterOrEqual protocols.
Source code in orderings/typing.py
130 131 132 133 134 | |
PartialOrdered
Bases: PartialStrictOrdered[T], PartialLenientOrdered[T], Protocol[T]
Represents types that implement both
PartialStrictOrdered[T] and
PartialLenientOrdered[T] protocols.
Source code in orderings/typing.py
137 138 139 140 141 142 | |
Ordered
Bases: StrictOrdered, LenientOrdered, Protocol
Represents types that implement both StrictOrdered
and LenientOrdered protocols.
Source code in orderings/typing.py
145 146 147 148 149 | |