[docs] Document return value of epoll.poll (issue 29247)

berker.peksag at gmail.com berker.peksag at gmail.com
Mon Jan 30 07:13:36 EST 2017


On 2017/01/30 12:39:39, marco.buttu wrote:
> https://bugs.python.org/review/29247/diff/19866/Doc/library/select.rst
> File Doc/library/select.rst (right):
> 
>
https://bugs.python.org/review/29247/diff/19866/Doc/library/select.rst#newcode346
> Doc/library/select.rst:346: Wait for events. *timeout* in seconds
(float) 
> Return a list of
> Is there a missing dot after (float)? I mean: "...in seconds (float).
Return a
> list

I agree that the current wording is not ideal. What about

   If *timeout* is a float then the call waits for at most that many
seconds.
   If *timeout* is -1 (the default) then it will wait for an unlimited
period.

https://bugs.python.org/review/29247/


More information about the docs mailing list