Skip to content

Commit 5adda90

Browse files
author
andrew.kuchling
committed
Minor docstring typos
git-svn-id: http://svn.python.org/projects/python/trunk@61918 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent da7ee02 commit 5adda90

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Modules/selectmodule.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ poll_register(pollObject *self, PyObject *args)
412412

413413
PyDoc_STRVAR(poll_modify_doc,
414414
"modify(fd, eventmask) -> None\n\n\
415-
Modify an already register file descriptor.\n\
415+
Modify an already registered file descriptor.\n\
416416
fd -- either an integer, or an object with a fileno() method returning an\n\
417417
int.\n\
418418
events -- an optional bitmask describing the type of events to check for");
@@ -918,10 +918,10 @@ pyepoll_register(pyEpoll_Object *self, PyObject *args, PyObject *kwds)
918918
PyDoc_STRVAR(pyepoll_register_doc,
919919
"register(fd[, eventmask]) -> bool\n\
920920
\n\
921-
Registers a new fd or modifies an already registered fd. register returns\n\
921+
Registers a new fd or modifies an already registered fd. register() returns\n\
922922
True if a new fd was registered or False if the event mask for fd was modified.\n\
923-
fd is the target file descriptor of the operation\n\
924-
events is a bit set composed of the various EPOLL constants, the default\n\
923+
fd is the target file descriptor of the operation.\n\
924+
events is a bit set composed of the various EPOLL constants; the default\n\
925925
is EPOLL_IN | EPOLL_OUT | EPOLL_PRI.\n\
926926
\n\
927927
The epoll interface supports all file descriptors that support poll.");
@@ -1719,7 +1719,7 @@ that are ready.\n\
17191719
\n\
17201720
*** IMPORTANT NOTICE ***\n\
17211721
On Windows and OpenVMS, only sockets are supported; on Unix, all file\n\
1722-
descriptors.");
1722+
descriptors can be used.");
17231723

17241724
static PyMethodDef select_methods[] = {
17251725
{"select", select_select, METH_VARARGS, select_doc},

0 commit comments

Comments
 (0)