From: Skip Montanaro Date: Thu, 13 Sep 2001 19:05:30 +0000 (+0000) Subject: based upon a suggestion in c.l.py, this slight expansion of the X-Git-Tag: v2.2.1c1~1817 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bafedecc06176e431c3050ba8bcf1d4039e605af;p=python based upon a suggestion in c.l.py, this slight expansion of the OverflowError message seems reasonable. --- diff --git a/Objects/longobject.c b/Objects/longobject.c index 38ef89c962..7c4f75dc6e 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -211,7 +211,7 @@ PyLong_AsLong(PyObject *vv) overflow: PyErr_SetString(PyExc_OverflowError, - "long int too large to convert"); + "long int too large to convert to int"); return -1; }