MCPcopy Index your code
hub / github.com/python/cpython / pyrange_reversed

Function pyrange_reversed

Lib/test/test_range.py:19–21  ·  view source on GitHub ↗
(start, stop, step)

Source from the content-addressed store, hash-verified

17 start += step
18
19def pyrange_reversed(start, stop, step):
20 stop += (start - stop) % step
21 return pyrange(stop - step, start - step, -step)
22
23
24class RangeTest(unittest.TestCase):

Callers 1

test_range_iteratorsMethod · 0.85

Calls 1

pyrangeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…