Skip to content

Docs: the calendar module lacks documentation for several APIs #108202

Open

Description

@erlend-aasland

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.

Originally posted by @serhiy-storchaka in #108192 (comment)

Linked PRs

Activity

  1. 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
  2. AA-Turner commented on Aug 21, 2023

    @AA-Turner
    Member

    (status as at 21c0844)

    Defined in __all__ but not documented

    Undocumented classes

    • different_locale (should not be documented, helper class)

    Undocumented functions

    • prweek()
    • week()
    • format()
    • formatstring()

    Undocumented methods

    Calendar

    TextCalendar

    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

    A

  3. AA-Turner commented on Aug 21, 2023

    @AA-Turner
    Member

    I think at the least we ought document IllegalMonthError and IllegalWeekdayError, I'll open a PR shortly.

    A

  4. added a commit that references this issue on Aug 25, 2023
  5. added a commit that references this issue on Aug 25, 2023
  6. added a commit that references this issue on Aug 25, 2023
  7. added a commit that references this issue on Aug 25, 2023
  8. added a commit that references this issue on Aug 25, 2023
  9. added a commit that references this issue on Aug 28, 2023
  10. added a commit that references this issue on Aug 28, 2023
  11. added a commit that references this issue on Aug 28, 2023
  12. added a commit that references this issue on Sep 6, 2023
  13. added 2 commits that reference this issue on Sep 6, 2023
  14. 14 remaining items

  15. added a commit that references this issue on Jan 6, 2025
  16. added 2 commits that reference this issue on Jan 6, 2025
  17. added 4 commits that reference this issue on Jan 6, 2025
  18. added 2 commits that reference this issue on Jan 7, 2025
  19. added 2 commits that reference this issue on Jan 7, 2025
  20. added 3 commits that reference this issue on Jan 8, 2025
  21. added a commit that references this issue on Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions