summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-12-01 13:18:39 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-12-01 13:18:39 (GMT)
commit166958b5df50fca05cb24be0152737edf575dbb9 (patch)
tree2cc504f8bac567c6ef0c6b02b05d30b30b6b6923 /Misc
parenta45517065a01a98fb99e77daa74e7b5e85e889e8 (diff)
downloadcpython-166958b5df50fca05cb24be0152737edf575dbb9.zip
cpython-166958b5df50fca05cb24be0152737edf575dbb9.tar.gz
cpython-166958b5df50fca05cb24be0152737edf575dbb9.tar.bz2
As discussed on python-dev, added two extractor functions to the
operator module.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index ce9d779..8f1c1a1 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -104,6 +104,11 @@ Core and builtins
Extension modules
-----------------
+- The operator module has two new functions, attrgetter() and
+ itemgetter() which are useful for creating fast data extractor
+ functions for map(), list.sort(), itertools.groupby(), and
+ other functions that expect a function argument.
+
- socket.SHUT_{RD,WR,RDWR} was added.
- os.getsid was added.