summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-02-22 16:19:52 (GMT)
committerGuido van Rossum <guido@python.org>1999-02-22 16:19:52 (GMT)
commit360eb9f278a3c225000aecdef105fbba6593639a (patch)
tree2c833d7ce606745eaa814c8dcdc477857e9f0cd9
parent5bd69db9f03ef1fa5ccaefd6ddd43291f9e7532c (diff)
downloadcpython-360eb9f278a3c225000aecdef105fbba6593639a.zip
cpython-360eb9f278a3c225000aecdef105fbba6593639a.tar.gz
cpython-360eb9f278a3c225000aecdef105fbba6593639a.tar.bz2
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.
-rw-r--r--Modules/timemodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index 4593b8f..50abf00 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -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\