File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,9 +57,7 @@ The module defines the following:
5757
5858 (Only supported on Linux 2.5.44 and newer.) Return an edge polling object,
5959 which can be used as Edge or Level Triggered interface for I/O
60- events. *sizehint * is deprecated and completely ignored. *flags * can be set
61- to :const: `EPOLL_CLOEXEC `, which causes the epoll descriptor to be closed
62- automatically when :func: `os.execve ` is called.
60+ events. *sizehint * and *flags * are deprecated and completely ignored.
6361
6462 See the :ref: `epoll-objects ` section below for the methods supported by
6563 epolling objects.
@@ -77,6 +75,10 @@ The module defines the following:
7775 Support for the :keyword: `with ` statement was added.
7876 The new file descriptor is now non-inheritable.
7977
78+ .. deprecated :: 3.4
79+ The *flags * parameter. ``select.EPOLL_CLOEXEC `` is used by default now.
80+ Use :func: `os.set_inheritable ` to make the file descriptor inheritable.
81+
8082
8183.. function :: poll()
8284
You can’t perform that action at this time.
0 commit comments