@@ -493,9 +493,10 @@ The :mod:`calendar` module exports the following data attributes:
493493
494494.. data :: month_name
495495
496- A sequence that represents the months of the year in the current locale. This
497- follows normal convention of January being month number 1, so it has a length of
498- 13 and ``month_name[0] `` is the empty string.
496+ A sequence that represents the months of the year in the current locale
497+ in the grammatical form used when the month is part of a complete date.
498+ This follows normal convention of January being month number 1, so it has
499+ a length of 13 and ``month_name[0] `` is the empty string.
499500
500501 >>> import calendar
501502 >>> list (calendar.month_name)
@@ -505,13 +506,39 @@ The :mod:`calendar` module exports the following data attributes:
505506.. data :: month_abbr
506507
507508 A sequence that represents the abbreviated months of the year in the current
508- locale. This follows normal convention of January being month number 1, so it
509- has a length of 13 and ``month_abbr[0] `` is the empty string.
509+ locale in the grammatical form used when the month is part of a complete date.
510+ This follows normal convention of January being month number 1, so it has
511+ a length of 13 and ``month_abbr[0] `` is the empty string.
510512
511513 >>> import calendar
512514 >>> list (calendar.month_abbr)
513515 ['', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
514516
517+
518+ .. data :: alt_month_name
519+
520+ A sequence that represents the months of the year in the current locale
521+ in the grammatical form used when the month is named by itself if the locale
522+ provides one. If the locale does not supply an alternative form, it falls back
523+ to the behavior of :data: `month_name `.
524+
525+ >>> import calendar
526+ >>> list (calendar.alt_month_name)
527+ ['', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
528+
529+
530+ .. data :: alt_month_abbr
531+
532+ A sequence that represents the abbreviated months of the year in the current
533+ locale in the grammatical form used when the month is named by itself if the
534+ locale provides one. If the locale does not supply an alternative form, it falls
535+ back to the behavior of :data: `month_abbr `.
536+
537+ >>> import calendar
538+ >>> list (calendar.alt_month_abbr)
539+ ['', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
540+
541+
515542.. data :: JANUARY
516543 FEBRUARY
517544 MARCH
0 commit comments