whatsnew: epoll supports with.

Also reworded the description of the feature in the docs.
This commit is contained in:
R David Murray 2013-12-31 11:17:21 -05:00
parent d9ddd3f9ba
commit 2bc930f044
2 changed files with 17 additions and 3 deletions

View file

@ -851,6 +851,15 @@ New :func:`resource.prlimit` function and Linux specific constants.
(Contributed by Christian Heimes in :issue:`16595` and :issue:`19324`.)
select
------
:class:`~select.epoll` objects now support the context management protocol.
When used in a :keyword:`with` statement, the :meth:`~select.epoll.close`
method will be called automatically at the end of the block. (Contributed
by Serhiy Storchaka in :issue:`16488`.)
shelve
------