New submission from Steve Ford:
The short description of epoll.poll is correct (gives timeout unit as seconds
[float]; includes maxevents). However, the long description lists the timeout
units as milliseconds ("If timeout is given, it specifies the length of time in
milliseconds which the system will wait for events before returning."), and
does not include maxevents at all.
See https://docs.python.org/3.5/library/select.html#select.poll.poll
See also https://docs.python.org/2.7/library/select.html#select.poll.poll
----------
assignee: docs@python
components: Documentation
messages: 266118
nosy: docs@python, fordsfords
priority: normal
severity: normal
status: open
title: doc: select: epoll.poll: incorrect timeout units, missing maxevents
versions: Python 2.7, Python 3.6
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue27088>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com