commit | bafedecc06176e431c3050ba8bcf1d4039e605af | [log] [tgz] |
---|---|---|
author | Skip Montanaro <skip@pobox.com> | Thu Sep 13 19:05:30 2001 +0000 |
committer | Skip Montanaro <skip@pobox.com> | Thu Sep 13 19:05:30 2001 +0000 |
tree | 41366a70f5132f80e3b5d5bd023b121ed3f6f374 | |
parent | b9a96282f16fddece6200ec8c0bfd8d0acfcc0e3 [diff] [blame] |
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 38ef89c..7c4f75d 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c
@@ -211,7 +211,7 @@ overflow: PyErr_SetString(PyExc_OverflowError, - "long int too large to convert"); + "long int too large to convert to int"); return -1; }