Mercurial > cpython-lru_cache-weakref
diff Modules/selectmodule.c @ 71003:a6586cb660dc 2.7
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:50:35 -0700 |
| parents | b36cb4602e21 |
| children | ff6adb867f40 |
line wrap: on
line diff
--- a/Modules/selectmodule.c Sun Jun 26 13:45:17 2011 -0700 +++ b/Modules/selectmodule.c Sun Jun 26 23:50:35 2011 -0700 @@ -912,7 +912,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\
