[Python-checkins] CVS: python/dist/src/Objects longobject.c,1.106,1.107

Skip Montanaro montanaro@users.sourceforge.net
2001年9月13日 12:05:32 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv9770
Modified Files:
	longobject.c 
Log Message:
based upon a suggestion in c.l.py, this slight expansion of the
OverflowError message seems reasonable.
Index: longobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/longobject.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -C2 -d -r1.106 -r1.107
*** longobject.c	2001年09月11日 23:24:22	1.106
--- longobject.c	2001年09月13日 19:05:30	1.107
***************
*** 212,216 ****
 overflow:
 	PyErr_SetString(PyExc_OverflowError,
! 			"long int too large to convert");
 	return -1;
 }
--- 212,216 ----
 overflow:
 	PyErr_SetString(PyExc_OverflowError,
! 			"long int too large to convert to int");
 	return -1;
 }

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