Skip to content

Commit 00ae66b

Browse files
committed
Update select.rst
1 parent f329916 commit 00ae66b

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

Doc/library/select.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,8 @@ Kqueue objects
527527

528528
.. method:: kqueue.control(changelist, max_events[, timeout])
529529

530-
Low level interface to kevent, returning a list of events.
530+
Low level interface to kevent, returning a list of :ref:`kevent <kevent-objects>`
531+
objects.
531532

532533
- changelist must be an iterable of kevent objects or ``None``
533534
- max_events must be 0 or a positive integer
@@ -562,6 +563,10 @@ https://man.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
562563

563564
Name of the kernel filter.
564565

566+
.. currentmodule:: select
567+
568+
The following constants can be used with :attr:`kevent.filter`:
569+
565570
+---------------------------+---------------------------------------------+
566571
| Constant | Meaning |
567572
+===========================+=============================================+
@@ -591,6 +596,10 @@ https://man.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
591596

592597
Filter action.
593598

599+
.. currentmodule:: select
600+
601+
The following constants can be used with :attr:`kevent.flags`:
602+
594603
+---------------------------+----------------------------------------------+
595604
| Constant | Meaning |
596605
+===========================+==============================================+
@@ -620,6 +629,11 @@ https://man.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2
620629

621630
Filter-specific flags.
622631

632+
.. currentmodule:: select
633+
634+
The following flags can be used with :attr:`kevent.fflags`, depending on the
635+
filter type.
636+
623637
:const:`KQ_FILTER_READ` and :const:`KQ_FILTER_WRITE` filter flags:
624638

625639
+----------------------------+--------------------------------------------+

0 commit comments

Comments
 (0)