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

Function qsort

Lib/turtledemo/sorting_animate.py:108–113  ·  view source on GitHub ↗
(shelf, left, right)

Source from the content-addressed store, hash-verified

106 return store_index
107
108def qsort(shelf, left, right):
109 if left < right:
110 pivot_index = left
111 pivot_new_index = partition(shelf, left, right, pivot_index)
112 qsort(shelf, left, pivot_new_index - 1)
113 qsort(shelf, pivot_new_index + 1, right)
114
115def randomize():
116 disable_keys()

Callers 1

start_qsortFunction · 0.85

Calls 1

partitionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…