From bafedecc06176e431c3050ba8bcf1d4039e605af Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Thu, 13 Sep 2001 19:05:30 +0000 Subject: [PATCH] based upon a suggestion in c.l.py, this slight expansion of the OverflowError message seems reasonable. --- Objects/longobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/longobject.c b/Objects/longobject.c index 38ef89c9628..7c4f75dc6e4 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; }