mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
As discussed on python-dev, added two extractor functions to the
operator module.
This commit is contained in:
parent
a45517065a
commit
166958b5df
4 changed files with 302 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue