[docs] [issue14804] Wrong defaults args notation in docs

Petri Lehtinen report at bugs.python.org
Mon May 14 12:13:03 CEST 2012


Petri Lehtinen <petri at digip.org> added the comment:

Looking at the code of epoll.poll(), it seems that 

   epoll.poll(timeout=-1, maxevents=-1)

is correct and the old 

   epoll.poll([timeout=-1[, maxevents=-1]])

is wrong, as there's no dependency between timeout and maxevents.

----------
nosy: +petri.lehtinen

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14804>
_______________________________________


More information about the docs mailing list