sorts.pigeonhole_sort ===================== .. py:module:: sorts.pigeonhole_sort Functions --------- .. autoapisummary:: sorts.pigeonhole_sort.main sorts.pigeonhole_sort.pigeonhole_sort Module Contents --------------- .. py:function:: main() .. py:function:: pigeonhole_sort(a) >>> a = [8, 3, 2, 7, 4, 6, 8] >>> b = sorted(a) # a nondestructive sort >>> pigeonhole_sort(a) # a destructive sort >>> a == b True