diff options
Diffstat (limited to 'Modules')
| -rw-r--r-- | Modules/timemodule.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c index f729594691..d0917a4073 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -662,12 +662,6 @@ time_strftime(PyObject *self, PyObject *args) "format %y requires year >= 1900 on AIX"); return NULL; } - else if (outbuf[1] == '\0') - { - PyErr_SetString(PyExc_ValueError, "Incomplete format string"); - Py_DECREF(format); - return NULL; - } } #endif |
