diff --git a/Doc/library/calendar.rst b/Doc/library/calendar.rst index 07d04a1c7b582a..d4d7551406e319 100644 --- a/Doc/library/calendar.rst +++ b/Doc/library/calendar.rst @@ -281,7 +281,7 @@ interpreted as prescribed by the ISO 8601 standard. Year 0 is 1 BC, year -1 is .. attribute:: cssclass_month_head - The month's head CSS class (used by :meth:`formatmonthname`). + The month's head CSS class (used by :meth:`!formatmonthname`). The default value is ``"month"``. .. versionadded:: 3.7 @@ -341,7 +341,7 @@ interpreted as prescribed by the ISO 8601 standard. Year 0 is 1 BC, year -1 is .. 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. @@ -410,8 +410,8 @@ For simple text calendars this module provides the following functions. .. function:: month(theyear, themonth, w=0, l=0) - Returns a month's calendar in a multi-line string using the :meth:`formatmonth` - of the :class:`TextCalendar` class. + Returns a month's calendar in a multi-line string using the + :meth:`~TextCalendar.formatmonth` method of the :class:`TextCalendar` class. .. function:: prcal(year, w=0, l=0, c=6, m=3) @@ -422,7 +422,7 @@ For simple text calendars this module provides the following functions. .. 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` method of the :class:`TextCalendar` class. .. function:: timegm(tuple) diff --git a/Doc/tools/.nitignore b/Doc/tools/.nitignore index 9475e883ee5b54..1919f44aad22bc 100644 --- a/Doc/tools/.nitignore +++ b/Doc/tools/.nitignore @@ -45,7 +45,6 @@ Doc/library/asyncio-task.rst Doc/library/bdb.rst Doc/library/bisect.rst Doc/library/bz2.rst -Doc/library/calendar.rst Doc/library/cmd.rst Doc/library/codecs.rst Doc/library/collections.abc.rst