mirror of https://github.com/python/cpython.git
mark strftime as varargs
This commit is contained in:
parent
f4a5912d51
commit
5416e20037
|
@ -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 */
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue