MCPcopy Create free account
hub / github.com/grantjenks/python-sortedcontainers / order_kinds

Function order_kinds

tests/benchmark_plot.py:36–42  ·  view source on GitHub ↗
(kinds)

Source from the content-addressed store, hash-verified

34 return value
35
36def order_kinds(kinds):
37 for idx, kind in enumerate(kinds):
38 if kind.startswith('Sorted'):
39 del kinds[idx]
40 kinds.insert(0, kind)
41 break
42 return kinds
43
44def test_plot(test):
45 ax = plt.gca()

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected