make the gettmarg error message more correct by making it more vague ;-)
authorSkip Montanaro <skip@pobox.com>
Wed, 22 Aug 2001 12:39:16 +0000 (12:39 +0000)
committerSkip 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

index 50e4053674a30a31ae2de889abc2cd64cb138697..ea0a8bee448269332e28aa59d5ca11b3ae60298e 100644 (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;
                }
        }