Mercurial > cpython-lru_cache-weakref
diff Modules/selectmodule.c @ 19311:fc7617312182 legacy-trunk
Fixed a couple of minor formatting nits where lines were > 79 columns wide.
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Thu, 16 Aug 2001 16:55:10 +0000 |
| parents | 6cb9f538dce4 |
| children | b41638a11e4e |
line wrap: on
line diff
--- a/Modules/selectmodule.c Thu Aug 16 16:52:59 2001 +0000 +++ b/Modules/selectmodule.c Thu Aug 16 16:55:10 2001 +0000 @@ -230,7 +230,8 @@ } 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 @@ 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 *
