@@ -192,7 +192,29 @@ interpreted as prescribed by the ISO 8601 standard. Year 0 is 1 BC, year -1 is
192
192
193
193
.. method :: prweek(theweek, width)
194
194
195
- Print a week's calendar as returned by :meth: `formatweek `.
195
+ Print a week's calendar as returned by :meth: `formatweek ` and sets the
196
+ end parameter to an empty string to prevent adding a newline character.
197
+
198
+ .. method :: formatday(day, weekday, width)
199
+
200
+ Return a string containing the formatted day.
201
+
202
+ .. method :: formatweek(theweek, width)
203
+
204
+ Return a single formatted week, with each day formatted using :meth: `formatday `
205
+
206
+ .. method :: formatweekday(theweek, width)
207
+
208
+ Return a formatted week day name.
209
+
210
+ .. method :: formatweekheader(width)
211
+
212
+ Return the formatted header for a week, containing the weekday names, with
213
+ each day formatted using :meth: `formatweekday `.
214
+
215
+ .. method :: formatmonthname(theyear, themonth, width, withyear)
216
+
217
+ Return a formatted month name, optinally including the year.
196
218
197
219
.. method :: formatmonth(theyear, themonth, w=0, l=0)
198
220
@@ -440,11 +462,6 @@ For simple text calendars this module provides the following functions.
440
462
441
463
The :mod: `calendar ` module exports the following data attributes:
442
464
443
- .. data :: mdays
444
-
445
- An array that represents the number of days in each month.
446
-
447
-
448
465
.. data :: day_name
449
466
450
467
An array that represents the days of the week in the current locale.
0 commit comments