summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-12-07 19:34:59 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-12-07 19:34:59 (GMT)
commit0b9293f28bcfc05cb67b2b3f9c6c1fec3194ea28 (patch)
treeb217575186db22f0270890b3e55c5545624e8d07
parentb31f30271e59dce7a9b2f48e478ddcf63ca41359 (diff)
downloadcpython-0b9293f28bcfc05cb67b2b3f9c6c1fec3194ea28.zip
cpython-0b9293f28bcfc05cb67b2b3f9c6c1fec3194ea28.tar.gz
cpython-0b9293f28bcfc05cb67b2b3f9c6c1fec3194ea28.tar.bz2
Fix error message, for consistency with messages for % and //, and for consistency with trunk
-rw-r--r--Objects/longobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index 4d71ea2..b46ce4e 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -3231,7 +3231,7 @@ long_true_divide(PyObject *a, PyObject *b)
if (bd == 0.0) {
PyErr_SetString(PyExc_ZeroDivisionError,
- "int division or modulo by zero");
+ "integer division or modulo by zero");
return NULL;
}