We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b12bc7 commit 98b6d35Copy full SHA for 98b6d35
1 file changed
docs/library/select.rst
@@ -52,6 +52,10 @@ Methods
52
.. method:: poll.poll([timeout])
53
54
Wait for at least one of the registered objects to become ready. Returns
55
- list of ready objects, or empty list on timeout.
+ list of (``obj``, ``event``, ...) tuples, ``event`` element specifying
56
+ whether ``obj`` is ready for reading, writing, or both (see ``register``
57
+ method above). There may be other elements in tuple, depending on platform
58
+ and version, so don't assume that its size is 2. In case of timeout, an
59
+ empty list is returned.
60
61
Timeout is in milliseconds.
0 commit comments