]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
We don't support leap seconds, so the seconds field of a time 9-tuple
authorGuido van Rossum <guido@python.org>
Mon, 22 Feb 1999 16:19:52 +0000 (16:19 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 22 Feb 1999 16:19:52 +0000 (16:19 +0000)
should be in the range [0-59].  Noted by Tadayoshi Funaba.

Modules/timemodule.c

index 4593b8fd98c7637b503d2aa48566941f27244a60..50abf00500127b183f93f156f1c44eb42b9e409f 100644 (file)
@@ -566,7 +566,7 @@ The tuple items are:\n\
   day (1-31)\n\
   hours (0-23)\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\
   Julian day (day in the year, 1-366)\n\
   DST (Daylight Savings Time) flag (-1, 0 or 1)\n\