MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / count_run

Function count_run

Objects/listobject.c:1117–1138  ·  view source on GitHub ↗

Return the length of the run beginning at lo, in the slice [lo, hi). lo < hi is required on entry. "A run" is the longest ascending sequence, with lo[0] <= lo[1] <= lo[2] <= ... or the longest descending sequence, with lo[0] > lo[1] > lo[2] > ... Boolean *descending is set to 0 in the former case, or to 1 in the latter. For its intended use in a stable mergesort, the strictness of th

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

listsortFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected