projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f3410d
)
make the gettmarg error message more correct by making it more vague ;-)
author
Skip Montanaro
<skip@pobox.com>
Wed, 22 Aug 2001 12:39:16 +0000
(12:39 +0000)
committer
Skip Montanaro
<skip@pobox.com>
Wed, 22 Aug 2001 12:39:16 +0000
(12:39 +0000)
see SF bug 434143, part of which this addresses
Modules/timemodule.c
patch
|
blob
|
history
diff --git
a/Modules/timemodule.c
b/Modules/timemodule.c
index 50e4053674a30a31ae2de889abc2cd64cb138697..ea0a8bee448269332e28aa59d5ca11b3ae60298e 100644
(file)
--- 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;
}
}