Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-108202: Combine documentation of calendar constants #108492

Merged
merged 4 commits into from
Aug 28, 2023

Conversation

AA-Turner
Copy link
Member

@AA-Turner AA-Turner commented Aug 25, 2023

The weekday constants were already defined in the "data attributes" section of the docs, this moves the month constants to match. This also benefits the reader of the calendar documentation, as the first API documented is now calendar.Calendar, rather than two enumerations.


📚 Documentation preview 📚: https://cpython-previews--108492.org.readthedocs.build/en/108492/library/calendar.html

@hugovk
Copy link
Member

hugovk commented Aug 26, 2023

Thanks, shall we also group the day things together, and the month things together?

image

@AA-Turner
Copy link
Member Author

Good idea, done.

A

Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@hugovk hugovk merged commit 5d936b6 into python:main Aug 28, 2023
@miss-islington
Copy link
Contributor

Thanks @AA-Turner for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry, @AA-Turner and @hugovk, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 5d936b64796261373429c86cdf90b1d8d8acefba 3.12

AA-Turner added a commit to AA-Turner/cpython that referenced this pull request Aug 28, 2023
…ts (pythonGH-108492).

(cherry picked from commit 5d936b6)

Co-authored-by: Adam Turner <[email protected]>
@AA-Turner
Copy link
Member Author

Sorry for the delay, backport now opened.

A

@bedevere-bot
Copy link

GH-108579 is a backport of this pull request to the 3.12 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.12 bug and security fixes label Aug 28, 2023
Yhg1s pushed a commit that referenced this pull request Aug 28, 2023
…-108492) (#108579)

[3.12] GH-108202: Combine documentation of ``calendar`` constants (GH-108492).
(cherry picked from commit 5d936b6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants