summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-02-13 00:14:09 (GMT)
committerGuido van Rossum <guido@python.org>1996-02-13 00:14:09 (GMT)
commit5416e200375537b3559caa6f5722780844fbd9fe (patch)
tree352073a1645a1e8b3f594acc965e6af0dae8dc55 /Modules
parentf4a5912d511375123e417ec022c9d9fc22f3602e (diff)
downloadcpython-5416e200375537b3559caa6f5722780844fbd9fe.zip
cpython-5416e200375537b3559caa6f5722780844fbd9fe.tar.gz
cpython-5416e200375537b3559caa6f5722780844fbd9fe.tar.bz2
mark strftime as varargs
Diffstat (limited to 'Modules')
-rw-r--r--Modules/timemodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index 9d441b2..f631b05 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 */
};