[Python-checkins] cpython (2.7): Fix closes issue 11568 - update select.epoll.register docstring with mention of

senthil.kumaran python-checkins at python.org
Mon Jun 27 08:51:23 CEST 2011


http://hg.python.org/cpython/rev/a6586cb660dc
changeset:   71003:a6586cb660dc
branch:      2.7
parent:      71000:a4d418e8010d
user:        Senthil Kumaran <senthil at uthcode.com>
date:        Sun Jun 26 23:50:35 2011 -0700
summary:
  Fix closes issue 11568 - update select.epoll.register docstring with mention of correct behavior.

files:
  Modules/selectmodule.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -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\

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list