]> granicus.if.org Git - python/commitdiff
based upon a suggestion in c.l.py, this slight expansion of the
authorSkip Montanaro <skip@pobox.com>
Thu, 13 Sep 2001 19:05:30 +0000 (19:05 +0000)
committerSkip Montanaro <skip@pobox.com>
Thu, 13 Sep 2001 19:05:30 +0000 (19:05 +0000)
OverflowError message seems reasonable.

Objects/longobject.c

index 38ef89c96283ea5d43d8fdaec28c91be557b42e4..7c4f75dc6e46cbaced413377cb402168f0fb9a0a 100644 (file)
@@ -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;
 }