~ubuntu-branches/ubuntu/lucid/python2.6/lucid

« back to all changes in this revision

Viewing changes to Doc/library/calendar.rst

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2010-03-11 13:30:19 UTC
  • mto: (10.1.13 sid)
  • mto: This revision was merged to the branch mainline in revision 44.
  • Revision ID: james.westby@ubuntu.com-20100311133019-sblbooa3uqrkoe70
Tags: upstream-2.6.5~rc2
ImportĀ upstreamĀ versionĀ 2.6.5~rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
      Print a month's calendar as returned by :meth:`formatmonth`.
130
130
 
131
131
 
132
 
   .. method:: formatyear(theyear, themonth[, w[, l[, c[, m]]]])
 
132
   .. method:: formatyear(theyear[, w[, l[, c[, m]]]])
133
133
 
134
134
      Return a *m*-column calendar for an entire year as a multi-line string.
135
135
      Optional parameters *w*, *l*, and *c* are for date column width, lines per
160
160
      used.
161
161
 
162
162
 
163
 
   .. method:: formatyear(theyear, themonth[, width])
 
163
   .. method:: formatyear(theyear[, width])
164
164
 
165
165
      Return a year's calendar as an HTML table. *width* (defaulting to 3)
166
166
      specifies the number of months per row.