Kaydet (Commit) 5416e200 authored tarafından Guido van Rossum's avatar Guido van Rossum

mark strftime as varargs

üst f4a5912d
...@@ -281,7 +281,7 @@ static struct methodlist time_methods[] = { ...@@ -281,7 +281,7 @@ static struct methodlist time_methods[] = {
{"ctime", time_ctime}, {"ctime", time_ctime},
{"mktime", time_mktime}, {"mktime", time_mktime},
#ifdef HAVE_STRFTIME #ifdef HAVE_STRFTIME
{"strftime", time_strftime}, {"strftime", time_strftime, 1},
#endif #endif
{NULL, NULL} /* sentinel */ {NULL, NULL} /* sentinel */
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment