diff --git a/Modules/timemodule.c b/Modules/timemodule.c index 9d441b2e343..f631b05a647 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -281,7 +281,7 @@ static struct methodlist time_methods[] = { {"ctime", time_ctime}, {"mktime", time_mktime}, #ifdef HAVE_STRFTIME - {"strftime", time_strftime}, + {"strftime", time_strftime, 1}, #endif {NULL, NULL} /* sentinel */ };