Commit 2f704557 authored by Barry Warsaw's avatar Barry Warsaw

Fixed a couple of minor formatting nits where lines were > 79 columns wide.

parent b44740f7
...@@ -230,7 +230,8 @@ select_select(PyObject *self, PyObject *args) ...@@ -230,7 +230,8 @@ select_select(PyObject *self, PyObject *args)
} }
else { else {
if (timeout > (double)LONG_MAX) { if (timeout > (double)LONG_MAX) {
PyErr_SetString(PyExc_OverflowError, "timeout period too long"); PyErr_SetString(PyExc_OverflowError,
"timeout period too long");
return NULL; return NULL;
} }
seconds = (long)timeout; seconds = (long)timeout;
...@@ -368,7 +369,8 @@ update_ufd_array(pollObject *self) ...@@ -368,7 +369,8 @@ update_ufd_array(pollObject *self)
static char poll_register_doc[] = static char poll_register_doc[] =
"register(fd [, eventmask] ) -> None\n\n\ "register(fd [, eventmask] ) -> None\n\n\
Register a file descriptor with the polling object.\n\ Register a file descriptor with the polling object.\n\
fd -- either an integer, or an object with a fileno() method returning an int.\n\ fd -- either an integer, or an object with a fileno() method returning an\n\
int.\n\
events -- an optional bitmask describing the type of events to check for"; events -- an optional bitmask describing the type of events to check for";
static PyObject * static PyObject *
......
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