Commit 46c2eff5 authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by Tal Einat

bpo-34369: make kqueue.control() docs better reflect that timeout is positional-only (GH-9499)

(cherry picked from commit 79042ac4)
Co-authored-by: default avatarTal Einat <taleinat@gmail.com>
parent 0517375c
......@@ -291,13 +291,14 @@ Kqueue Objects
Create a kqueue object from a given file descriptor.
.. method:: kqueue.control(changelist, max_events[, timeout=None]) -> eventlist
.. method:: kqueue.control(changelist, max_events[, timeout]) -> eventlist
Low level interface to kevent
- changelist must be an iterable of kevent object or ``None``
- changelist must be an iterable of kevent objects or ``None``
- max_events must be 0 or a positive integer
- timeout in seconds (floats possible)
- timeout in seconds (floats possible); the default is ``None``,
to wait forever
.. _kevent-objects:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment