[Python-checkins] CVS: python/dist/src/Modules selectmodule.c,2.54,2.55

Barry Warsaw bwarsaw@users.sourceforge.net
2001年8月16日 09:55:12 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv14493
Modified Files:
	selectmodule.c 
Log Message:
Fixed a couple of minor formatting nits where lines were > 79 columns wide.
Index: selectmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/selectmodule.c,v
retrieving revision 2.54
retrieving revision 2.55
diff -C2 -d -r2.54 -r2.55
*** selectmodule.c	2001年08月16日 16:52:59	2.54
--- selectmodule.c	2001年08月16日 16:55:10	2.55
***************
*** 231,235 ****
 	else {
 		if (timeout > (double)LONG_MAX) {
! 			PyErr_SetString(PyExc_OverflowError, "timeout period too long");
 			return NULL;
 		}
--- 231,236 ----
 	else {
 		if (timeout > (double)LONG_MAX) {
! 			PyErr_SetString(PyExc_OverflowError,
! 					"timeout period too long");
 			return NULL;
 		}
***************
*** 369,373 ****
 "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\
 events -- an optional bitmask describing the type of events to check for";
 
--- 370,375 ----
 "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\n\
! int.\n\
 events -- an optional bitmask describing the type of events to check for";
 

AltStyle によって変換されたページ (->オリジナル) /