]> granicus.if.org Git - python/commitdiff
Fix closes issue 11568 - update select.epoll.register docstring with mention of corre...
authorSenthil Kumaran <senthil@uthcode.com>
Mon, 27 Jun 2011 06:50:35 +0000 (23:50 -0700)
committerSenthil Kumaran <senthil@uthcode.com>
Mon, 27 Jun 2011 06:50:35 +0000 (23:50 -0700)
Modules/selectmodule.c

index 5192ce74cf4fc367812b09f1bbe8d9383a75cb70..ac604b6045453bf2d629e248f5e64fadfc2c92df 100644 (file)
@@ -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\