mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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:
parent
6f3410deaa
commit
1a10aac87c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue