Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Doc/library/select.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ The module defines the following:
:ref:`kevent-objects` below for the methods supported by kevent objects.


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

This is a straightforward interface to the Unix :c:func:`!select` system call.
The first three arguments are iterables of 'waitable objects': either
Expand All @@ -130,7 +130,8 @@ The module defines the following:
Empty iterables are allowed, but acceptance of three empty iterables is
platform-dependent. (It is known to work on Unix but not on Windows.) The
optional *timeout* argument specifies a time-out as a floating-point number
in seconds. When the *timeout* argument is omitted the function blocks until
in seconds.
When the *timeout* argument is omitted or ``None``, the function blocks until
at least one file descriptor is ready. A time-out value of zero specifies a
poll and never blocks.

Expand Down
Loading