Same pattern, but it only matches if the start <= value < stop.
(self, start, stop)
| 47 | return SuchThat(self, condition) |
| 48 | |
| 49 | def in_range(self, start, stop): |
| 50 | """Same pattern, but it only matches if the start <= value < stop.""" |
| 51 | return InRange(self, start, stop) |
| 52 | |
| 53 | def equal_to(self, obj): |
| 54 | return EqualTo(self, obj) |