Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0b9293f

Browse files
committed
Fix error message, for consistency with messages for % and //, and for consistency with trunk
1 parent b31f302 commit 0b9293f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/longobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3231,7 +3231,7 @@ long_true_divide(PyObject *a, PyObject *b)
32313231

32323232
if (bd == 0.0) {
32333233
PyErr_SetString(PyExc_ZeroDivisionError,
3234-
"int division or modulo by zero");
3234+
"integer division or modulo by zero");
32353235
return NULL;
32363236
}
32373237

0 commit comments

Comments
 (0)