]> granicus.if.org Git - python/commitdiff
#7345: fix arguments of formatyear().
authorGeorg Brandl <georg@python.org>
Mon, 23 Nov 2009 19:53:19 +0000 (19:53 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 23 Nov 2009 19:53:19 +0000 (19:53 +0000)
Doc/library/calendar.rst

index f2e218390dfff4340e89f8bb544d5743279d48f8..d650ff45f1346f2f43765560440205f9dcf6d419 100644 (file)
@@ -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.