summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-08-03 10:10:10 +0000
committerTim Peters <tim.peters@gmail.com>2002-08-03 10:10:10 +0000
commit0cd53a6c37347800f786c4ddaa2e91af30350b5a (patch)
treeae92812f3269876a3aec224f6374be09b19cbc27 /Python/sysmodule.c
parent657fe38241a7f072bdbf040a7bd05df96f326c5c (diff)
downloadcpython-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