diff options
author | Skip Montanaro <skip@pobox.com> | 2001-08-22 12:39:16 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2001-08-22 12:39:16 (GMT) |
commit | 1a10aac87c88011cf8b3cad019525dd007c74933 (patch) | |
tree | e39c343994a0242d6865e95053e62a7238201842 /Modules | |
parent | 6f3410deaacd4e99cd87a33b88724cf1f0808a05 (diff) | |
download | cpython-1a10aac87c88011cf8b3cad019525dd007c74933.zip cpython-1a10aac87c88011cf8b3cad019525dd007c74933.tar.gz cpython-1a10aac87c88011cf8b3cad019525dd007c74933.tar.bz2 |
make the gettmarg error message more correct by making it more vague ;-)
see SF bug 434143, part of which this addresses
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/timemodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c index 50e4053..ea0a8be 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -309,7 +309,7 @@ gettmarg(PyObject *args, struct tm *p) y += 2000; else { PyErr_SetString(PyExc_ValueError, - "year out of range (00-99, 1900-*)"); + "year out of range"); return 0; } } |