summaryrefslogtreecommitdiffstats
path: root/Doc/library/calendar.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-11-23 19:53:19 (GMT)
committerGeorg Brandl <georg@python.org>2009-11-23 19:53:19 (GMT)
commitfaa25999a32ed55a065c2deb4208049197029a0e (patch)
tree5933f5cca4fb340bc41f33a80c232efeb512cc56 /Doc/library/calendar.rst
parent18cfada1eac3a798fffa658fc67582a450b5a7e6 (diff)
downloadcpython-faa25999a32ed55a065c2deb4208049197029a0e.zip
cpython-faa25999a32ed55a065c2deb4208049197029a0e.tar.gz
cpython-faa25999a32ed55a065c2deb4208049197029a0e.tar.bz2
#7345: fix arguments of formatyear().
Diffstat (limited to 'Doc/library/calendar.rst')
-rw-r--r--Doc/library/calendar.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst
index f2e2183..d650ff4 100644
--- a/Doc/library/calendar.rst
+++ b/Doc/library/calendar.rst
@@ -129,7 +129,7 @@ it's the base calendar for all computations.
Print a month's calendar as returned by :meth:`formatmonth`.
- .. method:: formatyear(theyear, themonth[, w[, l[, c[, m]]]])
+ .. method:: formatyear(theyear[, w[, l[, c[, m]]]])
Return a *m*-column calendar for an entire year as a multi-line string.
Optional parameters *w*, *l*, and *c* are for date column width, lines per
@@ -160,7 +160,7 @@ it's the base calendar for all computations.
used.
- .. method:: formatyear(theyear, themonth[, width])
+ .. method:: formatyear(theyear[, width])
Return a year's calendar as an HTML table. *width* (defaulting to 3)
specifies the number of months per row.