]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #16098: Update heapq.nsmallest to use the same algorithm as nlargest.
authorRaymond Hettinger <python@rcn.com>
Tue, 5 Mar 2013 07:15:01 +0000 (02:15 -0500)
committerRaymond Hettinger <python@rcn.com>
Tue, 5 Mar 2013 07:15:01 +0000 (02:15 -0500)
commit3e6aafe20993f5b3690c870bf88eed3d8ba53492
tree1419be731e75dd4da77ce5a35f2afdb154f46f5f
parentdce969d2b05238755771bd9c65d86df182ab8390
Issue #16098:  Update heapq.nsmallest to use the same algorithm as nlargest.

This removes the dependency on bisect and it bring the pure Python code
in-sync with the C code.
Lib/heapq.py