From 7d80bd19096726dabde3effa8af89ec62365c0c0 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Sun, 26 Jun 2011 23:48:23 -0700 Subject: [PATCH] Fix closes issue 11568 - update select.epoll.register docstring with mention of correct behavior. --- Modules/selectmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index 65e1826eba6..1285e65d9d5 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\