]> granicus.if.org Git - python/commitdiff
issue27018 - Fix the documentation of select.epoll.register method.
authorSenthil Kumaran <senthil@uthcode.com>
Sun, 15 May 2016 04:28:22 +0000 (21:28 -0700)
committerSenthil Kumaran <senthil@uthcode.com>
Sun, 15 May 2016 04:28:22 +0000 (21:28 -0700)
Modules/selectmodule.c

index b3ac8073a916cc30a4354b8b90d5401728a1d1b0..00324a51bf9fa4a4625eadd942eccef8c2360d87 100644 (file)
@@ -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.");