Raymond Hettinger
|
cbac8ce5b0
|
Fixup docstrings for merge().
|
2007-02-19 18:15:04 +00:00 |
Raymond Hettinger
|
00166c5532
|
Add merge() function to heapq.
|
2007-02-19 04:08:43 +00:00 |
Georg Brandl
|
fafdc3b97b
|
Bug #1592533: rename variable in heapq doc example, to avoid shadowing
"sorted".
|
2006-11-08 10:04:29 +00:00 |
Raymond Hettinger
|
4901a1f267
|
Add key= argument to heapq.nsmallest() and heapq.nlargest().
|
2004-12-02 08:59:14 +00:00 |
Raymond Hettinger
|
8158e84930
|
Fix erroneous docstring comment.
|
2004-09-06 07:04:09 +00:00 |
Raymond Hettinger
|
28224f897a
|
Improve the documented advice on how to best use heapq.heapreplace().
|
2004-06-20 09:07:53 +00:00 |
Raymond Hettinger
|
aefde435ef
|
Reverse argument order for nsmallest() and nlargest().
Reads better when the iterable is a generator expression.
|
2004-06-15 23:53:35 +00:00 |
Raymond Hettinger
|
2e3dfaf707
|
Install C version of heapq.nsmallest().
|
2004-06-13 05:26:33 +00:00 |
Raymond Hettinger
|
33ecffb65a
|
SF patch #969791: Add nlargest() and nsmallest() to heapq.
|
2004-06-10 05:03:17 +00:00 |
Guido van Rossum
|
b2865919cc
|
Document that heappop() and heapreplace() raise IndexError if the heap
is empty.
|
2002-08-07 18:56:08 +00:00 |
Tim Peters
|
0ad679ff0f
|
Document new heapreplace() function.
|
2002-08-03 18:53:28 +00:00 |
Tim Peters
|
6e0da82a97
|
Document new heapify() function.
|
2002-08-03 18:02:09 +00:00 |
Fred Drake
|
1acab695a7
|
Minor markup changes.
|
2002-08-02 19:46:42 +00:00 |
Guido van Rossum
|
975121664e
|
Add docs for heapq.py.
|
2002-08-02 18:03:24 +00:00 |