diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-12-15 21:14:21 +0100 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-12-15 21:14:21 +0100 |
commit | 09bb89b8cf24431ef78bbaa227d2832fb852bb18 (patch) | |
tree | 056643ac4515ef68bbb882e4080b4774e6c24fcb /Doc/library/select.rst | |
parent | Merge (diff) | |
download | cpython-09bb89b8cf24431ef78bbaa227d2832fb852bb18.tar.gz cpython-09bb89b8cf24431ef78bbaa227d2832fb852bb18.tar.bz2 cpython-09bb89b8cf24431ef78bbaa227d2832fb852bb18.zip |
Issue #16488: epoll() objects now support the `with` statement.
Patch by Serhiy Storchaka.
Diffstat (limited to 'Doc/library/select.rst')
-rw-r--r-- | Doc/library/select.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/library/select.rst b/Doc/library/select.rst index 4e60f4ad883..b73f11e2276 100644 --- a/Doc/library/select.rst +++ b/Doc/library/select.rst @@ -47,11 +47,14 @@ The module defines the following: to :const:`EPOLL_CLOEXEC`, which causes the epoll descriptor to be closed automatically when :func:`os.execve` is called. See section :ref:`epoll-objects` below for the methods supported by epolling objects. - + They also support the :keyword:`with` statement. .. versionchanged:: 3.3 Added the *flags* parameter. + .. versionchanged:: 3.4 + Support for the :keyword:`with` statement was added. + .. function:: poll() |