Skip to content

Commit 9231cdf

Browse files
committed
Clarify select.kqeueu and select.kevent can be used on macOS
1 parent 23ad9c5 commit 9231cdf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Doc/library/select.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,9 @@ The module defines the following:
100100

101101
.. function:: kqueue()
102102

103-
(Only supported on BSD.) Returns a kernel queue object; see section
104-
:ref:`kqueue-objects` below for the methods supported by kqueue objects.
103+
(Only supported on BSD and macOS.) Returns a kernel queue object;
104+
see section :ref:`kqueue-objects` below for the methods supported by
105+
kqueue objects.
105106

106107
The new file descriptor is :ref:`non-inheritable <fd_inheritance>`.
107108

@@ -111,8 +112,9 @@ The module defines the following:
111112

112113
.. function:: kevent(ident, filter=KQ_FILTER_READ, flags=KQ_EV_ADD, fflags=0, data=0, udata=0)
113114

114-
(Only supported on BSD.) Returns a kernel event object; see section
115-
:ref:`kevent-objects` below for the methods supported by kevent objects.
115+
(Only supported on BSD and macOS.) Returns a kernel event object;
116+
see section :ref:`kevent-objects` below for the methods supported by
117+
kevent objects.
116118

117119

118120
.. function:: select(rlist, wlist, xlist, timeout=None)

0 commit comments

Comments
 (0)