Fix error message, for consistency with messages for % and //, and for consistency with trunk
This commit is contained in:
parent
b31f30271e
commit
0b9293f28b
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue