[Python-checkins] python/dist/src/Objects intobject.c,2.108,2.109

akuchling at users.sourceforge.net akuchling at users.sourceforge.net
Sat Jun 5 15:29:43 EDT 2004


Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27330

Modified Files:
	intobject.c 
Log Message:
Fix exception wording

Index: intobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/intobject.c,v
retrieving revision 2.108
retrieving revision 2.109
diff -C2 -d -r2.108 -r2.109
*** intobject.c	8 Feb 2004 18:54:37 -0000	2.108
--- intobject.c	5 Jun 2004 19:29:41 -0000	2.109
***************
*** 929,933 ****
  		if (!PyLong_Check(tmp)) {
  			PyErr_SetString(PyExc_ValueError,
! 					"value must convertable to an int");
  			Py_DECREF(tmp);
  			return NULL;
--- 929,933 ----
  		if (!PyLong_Check(tmp)) {
  			PyErr_SetString(PyExc_ValueError,
! 					"value must be convertable to an int");
  			Py_DECREF(tmp);
  			return NULL;




More information about the Python-checkins mailing list