Mercurial > cpython-lru_cache-weakref
diff Modules/selectmodule.c @ 71001:0610f70e6694 3.2
Fix closes issue 11568 - update select.epoll.register docstring with mention of correct behavior.
| author | Senthil Kumaran <senthil@uthcode.com> |
|---|---|
| date | Sun, 26 Jun 2011 23:48:23 -0700 |
| parents | 3c9232a684ae |
| children | 852ca32eb18d ddb8a29a6bc5 |
line wrap: on
line diff
--- a/Modules/selectmodule.c Sun Jun 26 15:29:06 2011 +0200 +++ b/Modules/selectmodule.c Sun Jun 26 23:48:23 2011 -0700 @@ -916,7 +916,7 @@ PyDoc_STRVAR(pyepoll_register_doc, "register(fd[, eventmask]) -> None\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\ events is a bit set composed of the various EPOLL constants; the default\n\ is EPOLL_IN | EPOLL_OUT | EPOLL_PRI.\n\
