@@ -141,7 +141,7 @@ interpreted as prescribed by the ISO 8601 standard.  Year 0 is 1 BC, year -1 is
141141
142142   .. method :: formatday(theday, weekday, width) 
143143
144-       Return a :class: ` str `  representing a single day formatted with the given width.
144+       Return a string  representing a single day formatted with the given width.
145145      If *theday * is ``0 ``, return a :class: `str ` of spaces of
146146      the specified width, representing an empty day. The *weekday * parameter
147147      is unused.
@@ -155,38 +155,38 @@ interpreted as prescribed by the ISO 8601 standard.  Year 0 is 1 BC, year -1 is
155155
156156   .. method :: formatweekday(weekday, width) 
157157
158-       Return a :class: ` str `  representing the name of a single weekday formatted to
159-       the specified width. The *weekday * parameter is an integer representing
158+       Return a string  representing the name of a single weekday formatted to
159+       the specified * width * . The *weekday * parameter is an integer representing
160160      the day of the week, where ``0 `` is Monday and ``6 `` is Sunday.
161161
162162   .. method :: formatweekheader(width) 
163163
164-       Return a :class: ` str `  containing the header row of weekday names, formatted
165-       with the given width for each column. The names depend on the locale
164+       Return a string  containing the header row of weekday names, formatted
165+       with the given * width *  for each column. The names depend on the locale
166166      settings and are padded to the specified width.
167167
168168   .. method :: formatmonth(theyear, themonth, w=0, l=0) 
169169
170-       Return a month's calendar in a multi-line :class: ` str ` . If *w * is provided, it
170+       Return a month's calendar in a multi-line string . If *w * is provided, it
171171      specifies the width of the date columns, which are centered. If *l * is
172172      given, it specifies the number of lines that each week will use. Depends
173173      on the first weekday as specified in the constructor or set by the
174174      :meth: `setfirstweekday ` method.
175175
176176   .. method :: formatmonthname(theyear, themonth, width=0, withyear=True) 
177177
178-       Return a :class: ` str `  representing the month's name centered within the
179-       specified width. If *withyear * is ``True ``, include the year in the
178+       Return a string  representing the month's name centered within the
179+       specified * width * . If *withyear * is ``True ``, include the year in the
180180      output. The *theyear * and *themonth * parameters specify the year
181-       and month for the name to be formatted.
181+       and month for the name to be formatted respectively .
182182
183183   .. method :: prmonth(theyear, themonth, w=0, l=0) 
184184
185185      Print a month's calendar as returned by :meth: `formatmonth `.
186186
187187   .. method :: formatyear(theyear, w=2, l=1, c=6, m=3) 
188188
189-       Return a *m *-column calendar for an entire year as a multi-line :class: ` str ` .
189+       Return a *m *-column calendar for an entire year as a multi-line string .
190190      Optional parameters *w *, *l *, and *c * are for date column width, lines per
191191      week, and number of spaces between month columns, respectively. Depends on
192192      the first weekday as specified in the constructor or set by the
@@ -397,7 +397,7 @@ For simple text calendars this module provides the following functions.
397397
398398.. function :: month(theyear, themonth, w=0, l=0) 
399399
400-    Returns a month's calendar in a multi-line :class: ` str `  using the :meth: `~TextCalendar.formatmonth `
400+    Returns a month's calendar in a multi-line string  using the :meth: `~TextCalendar.formatmonth `
401401   of the :class: `TextCalendar ` class.
402402
403403
@@ -408,7 +408,7 @@ For simple text calendars this module provides the following functions.
408408
409409.. function :: calendar(year, w=2, l=1, c=6, m=3) 
410410
411-    Returns a 3-column calendar for an entire year as a multi-line :class: ` str `  using
411+    Returns a 3-column calendar for an entire year as a multi-line string  using
412412   the :meth: `~TextCalendar.formatyear ` of the :class: `TextCalendar ` class.
413413
414414
@@ -469,7 +469,7 @@ The :mod:`calendar` module exports the following data attributes:
469469
470470   A sequence that represents the months of the year in the current locale.  This
471471   follows normal convention of January being month number 1, so it has a length of
472-    13 and ``month_name[0] `` is the empty :class: ` str ` .
472+    13 and ``month_name[0] `` is the empty string .
473473
474474       >>> import  calendar
475475       >>> list (calendar.month_name)
@@ -480,7 +480,7 @@ The :mod:`calendar` module exports the following data attributes:
480480
481481   A sequence that represents the abbreviated months of the year in the current
482482   locale.  This follows normal convention of January being month number 1, so it
483-    has a length of 13 and  ``month_abbr[0] `` is the empty :class: ` str ` .
483+    has a length of 13 and  ``month_abbr[0] `` is the empty string .
484484
485485       >>> import  calendar
486486       >>> list (calendar.month_abbr)
0 commit comments