mirror of https://github.com/python/cpython
#6867: epoll.register() returns None.
This commit is contained in:
parent
17dafdc249
commit
222569dc1d
|
@ -915,10 +915,9 @@ pyepoll_register(pyEpoll_Object *self, PyObject *args, PyObject *kwds)
|
||||||
}
|
}
|
||||||
|
|
||||||
PyDoc_STRVAR(pyepoll_register_doc,
|
PyDoc_STRVAR(pyepoll_register_doc,
|
||||||
"register(fd[, eventmask]) -> bool\n\
|
"register(fd[, eventmask]) -> None\n\
|
||||||
\n\
|
\n\
|
||||||
Registers a new fd or modifies an already registered fd. register() returns\n\
|
Registers a new fd or modifies an already registered fd.\n\
|
||||||
True if a new fd was registered or False if the event mask for fd was modified.\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\
|
||||||
|
|
Loading…
Reference in New Issue