Fix closes issue 11568 - update select.epoll.register docstring with mention of correct behavior.

This commit is contained in:
Senthil Kumaran 2011-06-26 23:48:23 -07:00
parent b34705ff37
commit 7d80bd1909

View File

@ -916,7 +916,7 @@ pyepoll_register(pyEpoll_Object *self, PyObject *args, PyObject *kwds)
PyDoc_STRVAR(pyepoll_register_doc, PyDoc_STRVAR(pyepoll_register_doc,
"register(fd[, eventmask]) -> None\n\ "register(fd[, eventmask]) -> None\n\
\n\ \n\
Registers a new fd or modifies an already registered fd.\n\ Registers a new fd or raises an IOError if the fd is already registered.\n\
fd is the target file descriptor of the operation.\n\ fd is the target file descriptor of the operation.\n\
events is a bit set composed of the various EPOLL constants; the default\n\ events is a bit set composed of the various EPOLL constants; the default\n\
is EPOLL_IN | EPOLL_OUT | EPOLL_PRI.\n\ is EPOLL_IN | EPOLL_OUT | EPOLL_PRI.\n\