summaryrefslogtreecommitdiffstats
path: root/Modules/timemodule.c
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2001-08-22 12:39:16 (GMT)
committerSkip Montanaro <skip@pobox.com>2001-08-22 12:39:16 (GMT)
commit1a10aac87c88011cf8b3cad019525dd007c74933 (patch)
treee39c343994a0242d6865e95053e62a7238201842 /Modules/timemodule.c
parent6f3410deaacd4e99cd87a33b88724cf1f0808a05 (diff)
downloadcpython-1a10aac87c88011cf8b3cad019525dd007c74933.zip
cpython-1a10aac87c88011cf8b3cad019525dd007c74933.tar.gz
cpython-1a10aac87c88011cf8b3cad019525dd007c74933.tar.bz2
make the gettmarg error message more correct by making it more vague ;-)
see SF bug 434143, part of which this addresses
Diffstat (limited to 'Modules/timemodule.c')
-rw-r--r--Modules/timemodule.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}