You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Docs: the calendar module lacks documentation for several APIs #108202
But first than documenting these particular method or two, we should decide whether they should be documented at all.
See past issues with the calendar module. There may be requests for undocumented methods, and some of them may even be rejected already. I think this has already been discussed.
changed the title [-]Docs: the calendar module lacks documentation for several APIS[/-][+]Docs: the calendar module lacks documentation for several APIs[/+]on Aug 21, 2023
Activity
[-]Docs: the calendar module lacks documentation for several APIS[/-][+]Docs: the calendar module lacks documentation for several APIs[/+]AA-Turner commentedon Aug 21, 2023
(status as at 21c0844)
Defined in
__all__but not documentedIllegalMonthError(GH-108202: Documentcalendarexceptions #108398)IllegalWeekdayError(GH-108202: Documentcalendarexceptions #108398)JANUARY, etc (These are documented asMonth.X, but also exist in the module scope) (GH-108202: Combine documentation ofcalendarconstants #108492)MONDAY, etc (These are documented asDay.X, but also exist in the module scope) (GH-108202: Combine documentation ofcalendarconstants #108492)Undocumented classes
different_locale(should not be documented, helper class)Undocumented functions
prweek()week()format()formatstring()Undocumented methods
Calendar
Calendar.getfirstweekday()Calendar.setfirstweekday()Calendar.firstweekday: (gh-108202: Document calendar.Calendar.firstweekday #128566)TextCalendar
TextCalendar.prweek()(gh-108202:calendar: Documentprweek#108466)TextCalendar.formatday()(gh-128317: Documentcalendar.TextCalendar.formatweek#128353)TextCalendar.formatweek()TextCalendar.formatweekday()TextCalendar.formatweekheader()TextCalendar.formatmonthname()HTMLCalendar
HTMLCalendar.formatday()HTMLCalendar.formatweek()HTMLCalendar.formatweekday()HTMLCalendar.formatweekheader()HTMLCalendar.formatmonthname()Undocumented attributes
EPOCH(should not be documented, of no use)mdays(should not be documented, of no use)Undocumented miscellany
python -m calendar(main()) (GH-108202: Documentcalendar's command-line interface #109020)A
AA-Turner commentedon Aug 21, 2023
I think at the least we ought document
IllegalMonthErrorandIllegalWeekdayError, I'll open a PR shortly.A
pythonGH-108202: Document ``calendar`` exceptions (pythonGH-108398)
GH-108202: Document ``calendar`` exceptions (#108398)
pythonGH-108202: Document ``calendar`` exceptions (pythonGH-108398)
[3.11] GH-108202: Document ``calendar`` exceptions (GH-108398) (#108468)
[3.12] GH-108202: Document ``calendar`` exceptions (GH-108398) (#108467)
GH-108202: Combine documentation of ``calendar`` constants (#108492)
[3.12] pythonGH-108202: Combine documentation of ``calendar`` constan…
[3.12] GH-108202: Combine documentation of ``calendar`` constants (GH…
GH-108202: Document ``calendar``'s command-line interface (#109020)
pythonGH-108202: Document ``calendar``'s command-line interface (pyth…
pythonGH-108202: Document ``calendar``'s command-line interface (pyth…
14 remaining items
gh-108202: Document `calendar.Calendar` methods `getfirstweekday` and…
pythongh-108202: Document `calendar.Calendar` methods `getfirstweekda…
pythongh-108202: Document `calendar.Calendar` methods `getfirstweekda…
[3.13] gh-108202: Document `calendar.Calendar` methods `getfirstweekd…
[3.12] gh-108202: Document `calendar.Calendar` methods `getfirstweekd…
pythongh-108202: Document calendar.Calendar.firstweekday
gh-108202: Document calendar.Calendar.firstweekday (#128566)
pythongh-108202: Document calendar.Calendar.firstweekday (pythonGH-12…
pythongh-108202: Document calendar.Calendar.firstweekday (pythonGH-12…
[3.13] gh-108202: Document calendar.Calendar.firstweekday (GH-128566) (…
[3.12] gh-108202: Document calendar.Calendar.firstweekday (GH-128566) (…
pythongh-108202: Document calendar.TextCalendar formatting helpers (p…
pythongh-108202: Document `calendar.Calendar` methods `getfirstweekda…
pythongh-108202: Document calendar.Calendar.firstweekday (python#128566)
gh-108202: ``calendar``: Document ``prweek`` (#108466)