summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2008-02-06 14:31:55 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2008-02-06 14:31:55 (GMT)
commitc16c57c73334d42b0338209adeaa6c5c3803aac8 (patch)
tree0d927da93d41c973ce5e04b2100d49a095a917b3 /Doc/library
parent5b970ad483332dc6c5f3e84a238317d45f844421 (diff)
downloadcpython-c16c57c73334d42b0338209adeaa6c5c3803aac8.zip
cpython-c16c57c73334d42b0338209adeaa6c5c3803aac8.tar.gz
cpython-c16c57c73334d42b0338209adeaa6c5c3803aac8.tar.bz2
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.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/calendar.rst18
1 files changed, 9 insertions, 9 deletions
diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst
index aa13c81..fc1f399 100644
--- a/Doc/library/calendar.rst
+++ b/Doc/library/calendar.rst
@@ -83,22 +83,22 @@ it's the base calendar for all computations.
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
- a list of month rows. Each month row contains up to *width* months (defaulting
- to 3). Each month contains between 4 and 6 weeks and each week contains 1--7
- days. Days are :class:`datetime.date` objects.
+ Return the data for the specified year ready for formatting. The return value
+ is a list of month rows. Each month row contains up to *width* months
+ (defaulting to 3). Each month contains between 4 and 6 weeks and each week
+ 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
- :meth:`yeardatescalendar`). Entries in the week lists are tuples of day numbers
- and weekday numbers. Day numbers outside this month are zero.
+ :meth:`yeardatescalendar`). Entries in the week lists are tuples of day
+ 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
:meth:`yeardatescalendar`). Entries in the week lists are day numbers. Day