output (defaulting to the system default encoding).
+ .. method:: formatmonthname(theyear, themonth, withyear=True)
+
+ Return a month name as an HTML table row. If *withyear* is true the year
+ will be included in the row, otherwise just the month name will be
+ used.
+
+
:class:`!HTMLCalendar` has the following attributes you can override to
customize the CSS classes used by the calendar:
.. note::
- The constructor, :meth:`formatweekday` and :meth:`formatmonthname` methods
+ The constructor, :meth:`!formatweekday` and :meth:`!formatmonthname` methods
of these two classes temporarily change the ``LC_TIME`` locale to the given
*locale*. Because the current locale is a process-wide setting, they are
not thread-safe.
.. function:: month(theyear, themonth, w=0, l=0)
- Returns a month's calendar in a multi-line string using the :meth:`formatmonth`
+ Returns a month's calendar in a multi-line string using the :meth:`~TextCalendar.formatmonth`
of the :class:`TextCalendar` class.
.. function:: calendar(year, w=2, l=1, c=6, m=3)
Returns a 3-column calendar for an entire year as a multi-line string using
- the :meth:`formatyear` of the :class:`TextCalendar` class.
+ the :meth:`~TextCalendar.formatyear` of the :class:`TextCalendar` class.
.. function:: timegm(tuple)
Doc/library/asyncio-subprocess.rst
Doc/library/asyncio-task.rst
Doc/library/bdb.rst
-Doc/library/calendar.rst
Doc/library/cmd.rst
Doc/library/collections.rst
Doc/library/concurrent.futures.rst