[Python-checkins] r76471 - python/trunk/Doc/library/calendar.rst
georg.brandl
python-checkins at python.org
Mon Nov 23 20:53:20 CET 2009
Author: georg.brandl
Date: Mon Nov 23 20:53:19 2009
New Revision: 76471
Log:
#7345: fix arguments of formatyear().
Modified:
python/trunk/Doc/library/calendar.rst
Modified: python/trunk/Doc/library/calendar.rst
==============================================================================
--- python/trunk/Doc/library/calendar.rst (original)
+++ python/trunk/Doc/library/calendar.rst Mon Nov 23 20:53:19 2009
@@ -129,7 +129,7 @@
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 @@
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.
More information about the Python-checkins
mailing list