aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-12-15 21:14:21 +0100
committerAntoine Pitrou <solipsis@pitrou.net>2012-12-15 21:14:21 +0100
commit09bb89b8cf24431ef78bbaa227d2832fb852bb18 (patch)
tree056643ac4515ef68bbb882e4080b4774e6c24fcb /Doc/library/select.rst
parentMerge (diff)
downloadcpython-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.rst5
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()