diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-09-11 12:46:07 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-09-11 12:46:07 (GMT) |
commit | fa0c8854789fe0423088dd7d828b83be759a83e6 (patch) | |
tree | aab22838314ce5acf2d63404c68ddde069e94174 /Doc/library/select.rst | |
parent | 9af13ca565c670d411fa4167f4bab999a26c48c9 (diff) | |
parent | 1c697a56ba208665ed3db5c6bae48774cc7f552d (diff) | |
download | cpython-fa0c8854789fe0423088dd7d828b83be759a83e6.zip cpython-fa0c8854789fe0423088dd7d828b83be759a83e6.tar.gz cpython-fa0c8854789fe0423088dd7d828b83be759a83e6.tar.bz2 |
Issue #20100: Merge from 3.5
Diffstat (limited to 'Doc/library/select.rst')
-rw-r--r-- | Doc/library/select.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/library/select.rst b/Doc/library/select.rst index 5494eef..c621949 100644 --- a/Doc/library/select.rst +++ b/Doc/library/select.rst @@ -57,9 +57,7 @@ The module defines the following: (Only supported on Linux 2.5.44 and newer.) Return an edge polling object, which can be used as Edge or Level Triggered interface for I/O - events. *sizehint* is deprecated and completely ignored. *flags* can be set - to :const:`EPOLL_CLOEXEC`, which causes the epoll descriptor to be closed - automatically when :func:`os.execve` is called. + events. *sizehint* and *flags* are deprecated and completely ignored. See the :ref:`epoll-objects` section below for the methods supported by epolling objects. @@ -77,6 +75,10 @@ The module defines the following: Support for the :keyword:`with` statement was added. The new file descriptor is now non-inheritable. + .. deprecated:: 3.4 + The *flags* parameter. ``select.EPOLL_CLOEXEC`` is used by default now. + Use :func:`os.set_inheritable` to make the file descriptor inheritable. + .. function:: poll() |