Skip to content

Commit e69f2bd

Browse files
committed
Remove month parameter from Calendar.yeardatescalendar(),
Calendar.yeardays2calendar() and Calendar.yeardayscalendar() as the methods don't have such a parameter. Fixes issue python#2017. (2.5 backport of r60618)
1 parent 6ae66d7 commit e69f2bd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/lib/libcalendar.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,20 +81,20 @@ \section{\module{calendar} ---
8181
day numbers.
8282
\end{methoddesc}
8383

84-
\begin{methoddesc}{yeardatescalendar}{year, month\optional{, width}}
84+
\begin{methoddesc}{yeardatescalendar}{year\optional{, width}}
8585
Return the data for the specified year ready for formatting. The return
8686
value is a list of month rows. Each month row contains up to \var{width}
8787
months (defaulting to 3). Each month contains between 4 and 6 weeks and
8888
each week contains 1--7 days. Days are \class{datetime.date} objects.
8989
\end{methoddesc}
9090

91-
\begin{methoddesc}{yeardays2calendar}{year, month\optional{, width}}
91+
\begin{methoddesc}{yeardays2calendar}{year\optional{, width}}
9292
Return the data for the specified year ready for formatting (similar to
9393
\method{yeardatescalendar()}). Entries in the week lists are tuples of
9494
day numbers and weekday numbers. Day numbers outside this month are zero.
9595
\end{methoddesc}
9696

97-
\begin{methoddesc}{yeardayscalendar}{year, month\optional{, width}}
97+
\begin{methoddesc}{yeardayscalendar}{year\optional{, width}}
9898
Return the data for the specified year ready for formatting (similar to
9999
\method{yeardatescalendar()}). Entries in the week lists are day numbers.
100100
Day numbers outside this month are zero.

0 commit comments

Comments
 (0)