From 9231cdfbb8cecdf8f4a657bfea56780697479df0 Mon Sep 17 00:00:00 2001 From: AN Long Date: Tue, 30 Dec 2025 22:35:22 +0900 Subject: [PATCH] Clarify select.kqeueu and select.kevent can be used on macOS --- Doc/library/select.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Doc/library/select.rst b/Doc/library/select.rst index 62b5161fb80634..6a5fec41f953a5 100644 --- a/Doc/library/select.rst +++ b/Doc/library/select.rst @@ -100,8 +100,9 @@ The module defines the following: .. function:: kqueue() - (Only supported on BSD.) Returns a kernel queue object; see section - :ref:`kqueue-objects` below for the methods supported by kqueue objects. + (Only supported on BSD and macOS.) Returns a kernel queue object; + see section :ref:`kqueue-objects` below for the methods supported by + kqueue objects. The new file descriptor is :ref:`non-inheritable `. @@ -111,8 +112,9 @@ The module defines the following: .. function:: kevent(ident, filter=KQ_FILTER_READ, flags=KQ_EV_ADD, fflags=0, data=0, udata=0) - (Only supported on BSD.) Returns a kernel event object; see section - :ref:`kevent-objects` below for the methods supported by kevent objects. + (Only supported on BSD and macOS.) Returns a kernel event object; + see section :ref:`kevent-objects` below for the methods supported by + kevent objects. .. function:: select(rlist, wlist, xlist, timeout=None)