diff options
author | Raymond Hettinger <python@rcn.com> | 2004-12-03 08:30:39 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-12-03 08:30:39 (GMT) |
commit | 3b0c7c20a10349fbedeb3779582280363a46f087 (patch) | |
tree | 37592db6c5939f1a41252bbeba33c1408363238b /Misc | |
parent | e8fdc4502f71ba230dd1320926796925065f662e (diff) | |
download | cpython-3b0c7c20a10349fbedeb3779582280363a46f087.zip cpython-3b0c7c20a10349fbedeb3779582280363a46f087.tar.gz cpython-3b0c7c20a10349fbedeb3779582280363a46f087.tar.bz2 |
SF patch #1077353: add key= argument to min and max
(First draft of patch contributed by Steven Bethard.)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS | 5 |
2 files changed, 5 insertions, 1 deletions
@@ -52,6 +52,7 @@ Alexander Belopolsky Andy Bensky Michel Van den Bergh Eric Beser +Steven Bethard Stephen Bevan Ron Bickers Dominic Binks @@ -10,6 +10,9 @@ What's New in Python 2.5 alpha 1? Core and builtins ----------------- +- min() and max() now support key= arguments with the same meaning as in + list.sort(). + Extension Modules ----------------- @@ -19,7 +22,7 @@ Library ------- - heapq.nsmallest() and heapq.nlargest() now support key= arguments with - the same meaning as for list.sort(). + the same meaning as in list.sort(). Build |