diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2011-06-27 06:48:23 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2011-06-27 06:48:23 (GMT) |
commit | 7d80bd19096726dabde3effa8af89ec62365c0c0 (patch) | |
tree | 86a9e52891d76a796a56ad9c261a23b62fb8bee2 /Modules/selectmodule.c | |
parent | b34705ff379a44da549ed6615ed5043bb9ac0ec4 (diff) | |
download | cpython-7d80bd19096726dabde3effa8af89ec62365c0c0.zip cpython-7d80bd19096726dabde3effa8af89ec62365c0c0.tar.gz cpython-7d80bd19096726dabde3effa8af89ec62365c0c0.tar.bz2 |
Fix closes issue 11568 - update select.epoll.register docstring with mention of correct behavior.
Diffstat (limited to 'Modules/selectmodule.c')
-rw-r--r-- | Modules/selectmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index 65e1826..1285e65 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -916,7 +916,7 @@ pyepoll_register(pyEpoll_Object *self, PyObject *args, PyObject *kwds) 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\ |