@@ -412,7 +412,7 @@ poll_register(pollObject *self, PyObject *args)
412412
413413PyDoc_STRVAR (poll_modify_doc ,
414414"modify(fd, eventmask) -> None\n\n\
415- Modify an already register file descriptor.\n\
415+ Modify an already registered file descriptor.\n\
416416fd -- either an integer, or an object with a fileno() method returning an\n\
417417 int.\n\
418418events -- an optional bitmask describing the type of events to check for" );
@@ -918,10 +918,10 @@ pyepoll_register(pyEpoll_Object *self, PyObject *args, PyObject *kwds)
918918PyDoc_STRVAR (pyepoll_register_doc ,
919919"register(fd[, eventmask]) -> bool\n\
920920\n\
921- Registers a new fd or modifies an already registered fd. register returns\n\
921+ Registers a new fd or modifies an already registered fd. register() returns\n\
922922True if a new fd was registered or False if the event mask for fd was modified.\n\
923- fd is the target file descriptor of the operation\n\
924- events is a bit set composed of the various EPOLL constants, the default\n\
923+ fd is the target file descriptor of the operation. \n\
924+ events is a bit set composed of the various EPOLL constants; the default\n\
925925is EPOLL_IN | EPOLL_OUT | EPOLL_PRI.\n\
926926\n\
927927The epoll interface supports all file descriptors that support poll." );
@@ -1719,7 +1719,7 @@ that are ready.\n\
17191719\n\
17201720*** IMPORTANT NOTICE ***\n\
17211721On Windows and OpenVMS, only sockets are supported; on Unix, all file\n\
1722- descriptors." );
1722+ descriptors can be used ." );
17231723
17241724static PyMethodDef select_methods [] = {
17251725 {"select" , select_select , METH_VARARGS , select_doc },
0 commit comments