As discussed on python-dev, added two extractor functions to the

operator module.
This commit is contained in:
Raymond Hettinger 2003-12-01 13:18:39 +00:00
parent a45517065a
commit 166958b5df
4 changed files with 302 additions and 2 deletions

View file

@ -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.