Remove month parameter from Calendar.yeardatescalendar(),

Calendar.yeardays2calendar() and Calendar.yeardayscalendar() as the methods
don't have such a parameter. Fixes issue #2017.

Rewrap content to 80 chars.
This commit is contained in:
Walter Dörwald 2008-02-06 14:31:55 +00:00
parent 5b970ad483
commit c16c57c733

View file

@ -83,22 +83,22 @@ it's the base calendar for all computations.
Weeks are lists of seven day numbers. Weeks are lists of seven day numbers.
.. method:: Calendar.yeardatescalendar(year, month[, width]) .. method:: Calendar.yeardatescalendar(year[, width])
Return the data for the specified year ready for formatting. The return value is Return the data for the specified year ready for formatting. The return value
a list of month rows. Each month row contains up to *width* months (defaulting is a list of month rows. Each month row contains up to *width* months
to 3). Each month contains between 4 and 6 weeks and each week contains 1--7 (defaulting to 3). Each month contains between 4 and 6 weeks and each week
days. Days are :class:`datetime.date` objects. contains 1--7 days. Days are :class:`datetime.date` objects.
.. method:: Calendar.yeardays2calendar(year, month[, width]) .. method:: Calendar.yeardays2calendar(year[, width])
Return the data for the specified year ready for formatting (similar to Return the data for the specified year ready for formatting (similar to
:meth:`yeardatescalendar`). Entries in the week lists are tuples of day numbers :meth:`yeardatescalendar`). Entries in the week lists are tuples of day
and weekday numbers. Day numbers outside this month are zero. numbers and weekday numbers. Day numbers outside this month are zero.
.. method:: Calendar.yeardayscalendar(year, month[, width]) .. method:: Calendar.yeardayscalendar(year[, width])
Return the data for the specified year ready for formatting (similar to Return the data for the specified year ready for formatting (similar to
:meth:`yeardatescalendar`). Entries in the week lists are day numbers. Day :meth:`yeardatescalendar`). Entries in the week lists are day numbers. Day