summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libcalendar.tex
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-11-03 00:13:42 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-11-03 00:13:42 (GMT)
commit034c749ff4d9be0e6ee79943acb8c70d7386b11d (patch)
treeef0d17bfad5a6768a221407cbd4d7cda0699d76d /Doc/lib/libcalendar.tex
parent065627e15c50068661db1d416c85b221496f7a38 (diff)
downloadcpython-034c749ff4d9be0e6ee79943acb8c70d7386b11d.zip
cpython-034c749ff4d9be0e6ee79943acb8c70d7386b11d.tar.gz
cpython-034c749ff4d9be0e6ee79943acb8c70d7386b11d.tar.bz2
Fix SF #618146, overflow error in calendar module
Will backport.
Diffstat (limited to 'Doc/lib/libcalendar.tex')
-rw-r--r--Doc/lib/libcalendar.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/libcalendar.tex b/Doc/lib/libcalendar.tex
index 57ed3b0..222e2db 100644
--- a/Doc/lib/libcalendar.tex
+++ b/Doc/lib/libcalendar.tex
@@ -15,6 +15,11 @@ convention). Use \function{setfirstweekday()} to set the first day of the
week to Sunday (6) or to any other weekday. Parameters that specify
dates are given as integers.
+Most of these functions rely on the platform provided \function{mktime()}.
+Therefore, valid argument values may vary from system to system.
+On Unix, valid years are typically between \code{1970} and \code{2037},
+but may be work between \code{1902} and \code{2037}.
+
\begin{funcdesc}{setfirstweekday}{weekday}
Sets the weekday (\code{0} is Monday, \code{6} is Sunday) to start
each week. The values \constant{MONDAY}, \constant{TUESDAY},