Commit 6e64fc6a authored by Fred Drake's avatar Fred Drake

fcntl.ioctl(): Update error message; necessity noted by Michael Hudson.

parent 09f054f0
......@@ -124,7 +124,9 @@ fcntl_ioctl(PyObject *self, PyObject *args)
PyErr_Clear();
arg = 0;
if (!PyArg_ParseTuple(args, "O&i|i;ioctl requires 2 integers and optionally a third integer or a string",
if (!PyArg_ParseTuple(args,
"O&i|i;ioctl requires a file or file descriptor,"
" an integer and optionally a third integer or a string",
conv_descriptor, &fd, &code, &arg)) {
return NULL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment