We don't support leap seconds, so the seconds field of a time 9-tuple

should be in the range [0-59].  Noted by Tadayoshi Funaba.
This commit is contained in:
Guido van Rossum 1999-02-22 16:19:52 +00:00
parent 5bd69db9f0
commit 360eb9f278
1 changed files with 1 additions and 1 deletions

View File

@ -566,7 +566,7 @@ The tuple items are:\n\
day (1-31)\n\ day (1-31)\n\
hours (0-23)\n\ hours (0-23)\n\
minutes (0-59)\n\ minutes (0-59)\n\
seconds (0-61, to allow for leap seconds)\n\ seconds (0-59)\n\
weekday (0-6, Monday is 0)\n\ weekday (0-6, Monday is 0)\n\
Julian day (day in the year, 1-366)\n\ Julian day (day in the year, 1-366)\n\
DST (Daylight Savings Time) flag (-1, 0 or 1)\n\ DST (Daylight Savings Time) flag (-1, 0 or 1)\n\