The range really is 0 to 61; according to the Posix standard this
accounts for leap seconds and the (very rare) double leap seconds. The
time module may produce and does accept leap seconds since it is based
on the Posix standard, but the datetime module does not accept leap
seconds in strptime() input nor will it produce them in strftime()
output.
可能是因为leap seconds。在
没有所谓的双闰秒。一分钟不可能有62秒。59,是的。60,是的。61,是的。62号,没有
http://www.monkey.org/openbsd/archive2/tech/199905/msg00031.html
答案就在下面一页:
这的确是一个有趣的行为。在
相关问题 更多 >
编程相关推荐