]> granicus.if.org Git - python/commit
Simplify the nlargest() code using heappushpop().
authorRaymond Hettinger <python@rcn.com>
Thu, 13 Mar 2008 19:33:34 +0000 (19:33 +0000)
committerRaymond Hettinger <python@rcn.com>
Thu, 13 Mar 2008 19:33:34 +0000 (19:33 +0000)
commit83aa6a3b1a6a406b3cde2fa7daa5d5b1db0cc6a7
tree3f9d71d12360e412dce2a6ee48636e37599951e4
parent53bdf093437349907807da9143f9c2bdcea9ab3a
Simplify the nlargest() code using heappushpop().
Lib/heapq.py