commit | 83aa6a3b1a6a406b3cde2fa7daa5d5b1db0cc6a7 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Thu Mar 13 19:33:34 2008 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Thu Mar 13 19:33:34 2008 +0000 |
tree | 3f9d71d12360e412dce2a6ee48636e37599951e4 | |
parent | 53bdf093437349907807da9143f9c2bdcea9ab3a [diff] |
Simplify the nlargest() code using heappushpop().