summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2001-09-13 19:05:30 (GMT)
committerSkip Montanaro <skip@pobox.com>2001-09-13 19:05:30 (GMT)
commitbafedecc06176e431c3050ba8bcf1d4039e605af (patch)
tree41366a70f5132f80e3b5d5bd023b121ed3f6f374 /Objects/longobject.c
parentb9a96282f16fddece6200ec8c0bfd8d0acfcc0e3 (diff)
downloadcpython-bafedecc06176e431c3050ba8bcf1d4039e605af.zip
cpython-bafedecc06176e431c3050ba8bcf1d4039e605af.tar.gz
cpython-bafedecc06176e431c3050ba8bcf1d4039e605af.tar.bz2
based upon a suggestion in c.l.py, this slight expansion of the
OverflowError message seems reasonable.
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index 38ef89c..7c4f75d 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;
}