MCPcopy Create free account
hub / github.com/microsoft/debugpy / in_range

Method in_range

tests/patterns/_impl.py:49–51  ·  view source on GitHub ↗

Same pattern, but it only matches if the start <= value < stop.

(self, start, stop)

Source from the content-addressed store, hash-verified

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)

Callers 3

dap.pyFile · 0.80
test_in_rangeFunction · 0.80
test_recursiveFunction · 0.80

Calls 1

InRangeClass · 0.85

Tested by 2

test_in_rangeFunction · 0.64
test_recursiveFunction · 0.64