Kaydet (Commit) faa25999 authored tarafından Georg Brandl's avatar Georg Brandl

#7345: fix arguments of formatyear().

üst 18cfada1
...@@ -129,7 +129,7 @@ it's the base calendar for all computations. ...@@ -129,7 +129,7 @@ it's the base calendar for all computations.
Print a month's calendar as returned by :meth:`formatmonth`. 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. 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 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. ...@@ -160,7 +160,7 @@ it's the base calendar for all computations.
used. used.
.. method:: formatyear(theyear, themonth[, width]) .. method:: formatyear(theyear[, width])
Return a year's calendar as an HTML table. *width* (defaulting to 3) Return a year's calendar as an HTML table. *width* (defaulting to 3)
specifies the number of months per row. specifies the number of months per row.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment