mirror of
https://github.com/python/cpython.git
synced 2025-07-31 07:04:42 +00:00
whatsnew: epoll supports with.
Also reworded the description of the feature in the docs.
This commit is contained in:
parent
d9ddd3f9ba
commit
2bc930f044
2 changed files with 17 additions and 3 deletions
|
@ -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
|
||||
------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue