Uh oh!
There was an error while loading. Please reload this page.
gh-108202: Document calendar.Calendar methods getfirstweekday and setfirstweekday - #127579
Conversation
Uh oh!
There was an error while loading. Please reload this page.
erlend-aasland
commented
Dec 3, 2024
Referenced, but still not documented. I think it would make sense to also document the |
erlend-aasland
commented
Dec 3, 2024
See also the discussion following the addition of the |
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
@erlend-aasland it is now referenced. There however seems to be a conflict between |
Uh oh!
There was an error while loading. Please reload this page.
eendebakpt
commented
Dec 17, 2024
Since the |
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
StanFromIreland
commented
Dec 17, 2024
Added |
StanFromIreland
commented
Jan 4, 2025
@erlend-aasland anything I should change with this PR? I modified the introduction as it referenced what I added. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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>
Uh oh!
There was an error while loading. Please reload this page.
calendar: Document getfirstweekday and setfirstweekdaycalendar.Calendar methods getfirstweekday and setfirstweekdayerlend-aasland
commented
Jan 6, 2025
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.firstweekdayis sufficiently referenced in several places already.📚 Documentation preview 📚: https://cpython-previews--127579.org.readthedocs.build/