diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-08-03 10:10:10 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-08-03 10:10:10 +0000 |
commit | 0cd53a6c37347800f786c4ddaa2e91af30350b5a (patch) | |
tree | ae92812f3269876a3aec224f6374be09b19cbc27 /Python/sysmodule.c | |
parent | 657fe38241a7f072bdbf040a7bd05df96f326c5c (diff) | |
download | cpython-git-0cd53a6c37347800f786c4ddaa2e91af30350b5a.tar.gz |
Added new heapreplace(heap, item) function, to pop (and return) the
currently-smallest value, and add item, in one gulp. See the second
N-Best algorithm in the test suite for a natural use.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions