From: Skip Montanaro Date: Wed, 22 Aug 2001 12:39:16 +0000 (+0000) Subject: make the gettmarg error message more correct by making it more vague ;-) X-Git-Tag: v2.2a3~386 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a10aac87c88011cf8b3cad019525dd007c74933;p=thirdparty%2FPython%2Fcpython.git make the gettmarg error message more correct by making it more vague ;-) see SF bug 434143, part of which this addresses --- diff --git a/Modules/timemodule.c b/Modules/timemodule.c index 50e4053674a3..ea0a8bee4482 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; } }