diff options
author | Skip Montanaro <skip@pobox.com> | 2001-09-13 19:05:30 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2001-09-13 19:05:30 (GMT) |
commit | bafedecc06176e431c3050ba8bcf1d4039e605af (patch) | |
tree | 41366a70f5132f80e3b5d5bd023b121ed3f6f374 /Objects/longobject.c | |
parent | b9a96282f16fddece6200ec8c0bfd8d0acfcc0e3 (diff) | |
download | cpython-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.c | 2 |
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; } |