]> granicus.if.org Git - python/commitdiff
mark strftime as varargs
authorGuido van Rossum <guido@python.org>
Tue, 13 Feb 1996 00:14:09 +0000 (00:14 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 13 Feb 1996 00:14:09 +0000 (00:14 +0000)
Modules/timemodule.c

index 9d441b2e343b28f87e23e029e092c05e41bc337d..f631b05a647ed96cccbfd28ca1ee183e6b792df1 100644 (file)
@@ -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 */
 };