summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-06-10 05:03:17 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-06-10 05:03:17 (GMT)
commit33ecffb65ae43ece95e4d828f95819395187d579 (patch)
tree499adce5b4fc964973a8e72baf2c6214bcef89e3 /Misc/NEWS
parent7d019664d7fcd3692eafef668fbc2e17126dee14 (diff)
downloadcpython-33ecffb65ae43ece95e4d828f95819395187d579.zip
cpython-33ecffb65ae43ece95e4d828f95819395187d579.tar.gz
cpython-33ecffb65ae43ece95e4d828f95819395187d579.tar.bz2
SF patch #969791: Add nlargest() and nsmallest() to heapq.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 3 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index a93ae18..dd75f61 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -416,7 +416,9 @@ Library
os.path.exists(), switched to using os.lstat() directly if possible.
- bisect.py and heapq.py now have underlying C implementations
- for better performance
+ for better performance.
+
+- heapq.py has two new functions, nsmallest() and nlargest().
- traceback.format_exc has been added (similar to print_exc but it returns
a string).