@@ -26,10 +26,12 @@ \section{\module{calendar} ---
2626import calendar
2727calendar.setfirstweekday(calendar.SUNDAY)
2828\end {verbatim }
29+ \versionadded {2.0}
2930\end {funcdesc }
3031
3132\begin {funcdesc }{firstweekday}{}
3233Returns the current setting for the weekday to start each week.
34+ \versionadded {2.0}
3335\end {funcdesc }
3436
3537\begin {funcdesc }{isleap}{year}
@@ -39,6 +41,8 @@ \section{\module{calendar} ---
3941\begin {funcdesc }{leapdays}{y1, y2}
4042Returns the number of leap years in the range
4143[\var {y1}\ldots\var {y2}), where \var {y1} and \var {y2} are years.
44+ \versionchanged [This function didn't work for ranges spanning
45+ a century change in Python 1.5.2]{2.0}
4246\end {funcdesc }
4347
4448\begin {funcdesc }{weekday}{year, month, day}
@@ -68,6 +72,7 @@ \section{\module{calendar} ---
6872centered. If \var {l} is given, it specifies the number of lines that
6973each week will use. Depends on the first weekday as set by
7074\function {setfirstweekday()}.
75+ \versionadded {2.0}
7176\end {funcdesc }
7277
7378\begin {funcdesc }{prcal}{year\optional {, w\optional {, l\optional {c}}}}
@@ -82,6 +87,7 @@ \section{\module{calendar} ---
8287respectively. Depends on the first weekday as set by
8388\function {setfirstweekday()}. The earliest year for which a calendar can
8489be generated is platform-dependent.
90+ \versionadded {2.0}
8591\end {funcdesc }
8692
8793\begin {funcdesc }{timegm}{tuple}
@@ -90,6 +96,7 @@ \section{\module{calendar} ---
9096module, and returns the corresponding \UNIX {} timestamp value, assuming
9197an epoch of 1970, and the POSIX encoding. In fact,
9298\function {time.gmtime()} and \function {timegm()} are each others' inverse.
99+ \versionadded {2.0}
93100\end {funcdesc }
94101
95102
0 commit comments