[Python-checkins] r76698 - python/branches/py3k/Objects/longobject.c

mark.dickinson python-checkins at python.org
Mon Dec 7 20:34:59 CET 2009


Author: mark.dickinson
Date: Mon Dec  7 20:34:59 2009
New Revision: 76698

Log:
Fix error message, for consistency with messages for % and //, and for consistency with trunk

Modified:
   python/branches/py3k/Objects/longobject.c

Modified: python/branches/py3k/Objects/longobject.c
==============================================================================
--- python/branches/py3k/Objects/longobject.c	(original)
+++ python/branches/py3k/Objects/longobject.c	Mon Dec  7 20:34:59 2009
@@ -3231,7 +3231,7 @@
 
 	if (bd == 0.0) {
 		PyErr_SetString(PyExc_ZeroDivisionError,
-			"int division or modulo by zero");
+			"integer division or modulo by zero");
 		return NULL;
 	}
 


More information about the Python-checkins mailing list