summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2016-05-15 04:28:22 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2016-05-15 04:28:22 (GMT)
commit507898d35d92835f19565249e44c9afbea238192 (patch)
treed072852a1a14e8a76c9b5381402e2d73df6ff250
parentf47a40034763e9877861d995402715ca0dedb17c (diff)
downloadcpython-507898d35d92835f19565249e44c9afbea238192.zip
cpython-507898d35d92835f19565249e44c9afbea238192.tar.gz
cpython-507898d35d92835f19565249e44c9afbea238192.tar.bz2
issue27018 - Fix the documentation of select.epoll.register method.
-rw-r--r--Modules/selectmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
index b3ac807..00324a5 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -1438,7 +1438,7 @@ PyDoc_STRVAR(pyepoll_register_doc,
Registers a new fd or raises an OSError 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\
+is EPOLLIN | EPOLLOUT | EPOLLPRI.\n\
\n\
The epoll interface supports all file descriptors that support poll.");