From 1a10aac87c88011cf8b3cad019525dd007c74933 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Wed, 22 Aug 2001 12:39:16 +0000 Subject: make the gettmarg error message more correct by making it more vague ;-) see SF bug 434143, part of which this addresses --- Modules/timemodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- cgit v0.12