New submission from Chester <[EMAIL PROTECTED]>:
Please fix the ZeroDivisionError error message string literal to clarify
the error message:
from
if (y == 0) {
PyErr_SetString(PyExc_ZeroDivisionError,
"integer division or modulo by zero");
return DIVMOD_ERROR;
to
if (y == 0) {
PyErr_SetString(PyExc_ZeroDivisionError,
"integer division by zero or modulo by zero");
return DIVMOD_ERROR;
This code is located here:
http://svn.python.org/view/python/trunk/Objects/intobject.c?rev=62380&view=markup
----------
messages: 67033
nosy: chester
severity: normal
status: open
title: ZeroDivisionError error message needs clarification
versions: Python 3.0
__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2907>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com