-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
gh-108202: Document calendar.Calendar
methods getfirstweekday
and setfirstweekday
#127579
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
Conversation
Referenced, but still not documented. I think it would make sense to also document the |
See also the discussion following the addition of the |
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
@erlend-aasland it is now referenced. There however seems to be a conflict between |
Since the |
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
Added |
@erlend-aasland anything I should change with this PR? I modified the introduction as it referenced what I added. |
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
calendar
: Document getfirstweekday
and setfirstweekday
calendar.Calendar
methods getfirstweekday
and setfirstweekday
Thanks. Now the PR does what the title says. As mentioned before (and at the last docs meetup), adding documentation for these undocumented APIs is controversial. I've tried to do so in the past, but had to revert the doc additions because of pushback. I read through the old discussions (dating back to 2006) earlier today; you can find them on the issue at #108202 (comment). It is a heated topic. I'll quote Serhiy again:
I named my issue deliberately Docs: the calendar module lacks documentation for several APIs, and not Docs: add documentation for missing calendar APIs, because we do not know if we want to add docs for all these APIs. There is no consensus. |
This comment was marked as outdated.
This comment was marked as outdated.
…y` and `setfirstweekday` (pythonGH-127579) (cherry picked from commit 953b49e) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
GH-128564 is a backport of this pull request to the 3.13 branch. |
…y` and `setfirstweekday` (pythonGH-127579) (cherry picked from commit 953b49e) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
GH-128565 is a backport of this pull request to the 3.12 branch. |
…y` and `setfirstweekday` (python#127579)
#108202
This was discussed in the Documentation Community Meeting and as per the issue I have finished documenting the undocumented functions in
calendar
. I believe.firstweekday
is sufficiently referenced in several places already.📚 Documentation preview 📚: https://cpython-previews--127579.org.readthedocs.build/