From 5416e200375537b3559caa6f5722780844fbd9fe Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 13 Feb 1996 00:14:09 +0000 Subject: [PATCH] mark strftime as varargs --- Modules/timemodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ };