Commit 1a10aac8 authored by Skip Montanaro's avatar Skip Montanaro

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

see SF bug 434143, part of which this addresses
parent 6f3410de
......@@ -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;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment