summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-08-16 16:55:10 (GMT)
committerBarry Warsaw <barry@python.org>2001-08-16 16:55:10 (GMT)
commit2f7045576d46eeee19258cb50c72b8edd25f299f (patch)
tree02695ace251896e6708cd8ac47828012d73092a9
parentb44740f741d73a7bb45df7040ff52cd10b52d5a4 (diff)
downloadcpython-2f7045576d46eeee19258cb50c72b8edd25f299f.zip
cpython-2f7045576d46eeee19258cb50c72b8edd25f299f.tar.gz
cpython-2f7045576d46eeee19258cb50c72b8edd25f299f.tar.bz2
Fixed a couple of minor formatting nits where lines were > 79 columns wide.
-rw-r--r--Modules/selectmodule.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c
index 285f6f0..fa34324 100644
--- a/Modules/selectmodule.c
+++ b/Modules/selectmodule.c
@@ -230,7 +230,8 @@ select_select(PyObject *self, PyObject *args)
}
else {
if (timeout > (double)LONG_MAX) {
- PyErr_SetString(PyExc_OverflowError, "timeout period too long");
+ PyErr_SetString(PyExc_OverflowError,
+ "timeout period too long");
return NULL;
}
seconds = (long)timeout;
@@ -368,7 +369,8 @@ update_ufd_array(pollObject *self)
static char poll_register_doc[] =
"register(fd [, eventmask] ) -> None\n\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";
static PyObject *