PyObject *o, *key, *value;
int fd, events = POLLIN | POLLPRI | POLLOUT;
- if (!PyArg_ParseTuple(args, "O|i", &o, &events)) {
+ if (!PyArg_ParseTuple(args, "O|i:register", &o, &events)) {
return NULL;
}
PyObject *o, *key;
int fd;
- if (!PyArg_ParseTuple(args, "O", &o)) {
+ if (!PyArg_ParseTuple(args, "O:unregister", &o)) {
return NULL;
}
int timeout = 0, poll_result, i, j;
PyObject *value = NULL, *num = NULL;
- if (!PyArg_ParseTuple(args, "|O", &tout)) {
+ if (!PyArg_ParseTuple(args, "|O:poll", &tout)) {
return NULL;
}