↓ 1 callersFunctionmultisort_best Takes the best item, taking into account the multisorts >>> multisort_best([], []) >>> multisort_best([3,4,5], [('max', lambda x: x)])
openlibrary/utils/__init__.py:74
↓ 1 callersFunctionpad >>> pad([1, 2], 4, 0) [1, 2, 0, 0]
openlibrary/plugins/upstream/table_of_contents.py:161
↓ 1 callersFunctionpartition >>> list(partition([1,2,3,4,5,6], 1)) [[1, 2, 3, 4, 5, 6]] >>> list(partition([1,2,3,4,5,6], 2)) [[1, 2, 3], [4, 5, 6]] >>> list(
openlibrary/solr/data_provider.py:51