diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2011-06-27 06:50:35 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2011-06-27 06:50:35 (GMT) |
commit | 2bd9100b2aa3d49f72e2020ecaa6105ef0a065c5 (patch) | |
tree | 07f2c893cd681c5cd94ecd9598c109de9a18911a | |
parent | e4ef72687972a6e1aedafeb1a5f7de1dd4b5756d (diff) | |
download | cpython-2bd9100b2aa3d49f72e2020ecaa6105ef0a065c5.zip cpython-2bd9100b2aa3d49f72e2020ecaa6105ef0a065c5.tar.gz cpython-2bd9100b2aa3d49f72e2020ecaa6105ef0a065c5.tar.bz2 |
Fix closes issue 11568 - update select.epoll.register docstring with mention of correct behavior.
-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 5192ce7..ac604b6 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -912,7 +912,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\ |