make the gettmarg error message more correct by making it more vague ;-)

see SF bug 434143, part of which this addresses
This commit is contained in:
Skip Montanaro 2001-08-22 12:39:16 +00:00
parent 6f3410deaa
commit 1a10aac87c

View file

@ -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;
}
}