-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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: calendar
: Document TextCalendar
methods
#127608
base: main
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some initial comments. (I'll tag Erlend again once I consider this ready from a triage standpoint.)
It's probably worth converting the phrase "string representation" into a reference to the str
class.
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
As per ZeroIntenisities suggestion
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I'll refrain from nitpicking. I don't know enough about calendar
to give this a green check, so I'll just tag Erlend.
@StanFromIreland I approved the PR, but it takes the approval of a core developer before this can be merged. It is holiday season, so it could take some time |
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
This has conflicts now. |
@ZeroIntensity I have asked @hugovk and @erlend-aasland what to do as they seem to have forgotten about this PR. |
Sorry for creating a merge conflict. Can you resolve it? Use whatever text is the better, it doesn't necessarily have to be mine, or combine them. (Remember to try and keep new text within 80 chars wide: https://devguide.python.org/documentation/markup/#use-of-whitespace) |
@hugovk It has been resolved. Please check for duplicate PRs in the future. |
@StanFromIreland: Please Please restrict your PR to one change, and one change only. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer "string" over the "str" type so please revert them but only in a single commit so that, if other reviewers want to add them back, you can just revert that commit.
I don't have much of a preference, I'm happy with just the phrase "string" as well. |
It's mostly because the currently documented methods use "string" (without "representation") so I think it's better to be consistent. And because, "a string" is better read than "a str" (even if there is a markup, it's still an incomplete word) |
@erlend-aasland All done now. In the future do you prefer a PR for every function like hugokvs maybe it is easier to review? |
No, do not create one PR for every function. Just don't mix different types of changes in a PR (nor in an issue). This is all explained in clear text in the devguide. |
@erlend-aasland ok. Is this PR ok for you then? Are there any other changes you want before you review? This PR was originally focused on just the functions but then expanded with suggestions from other reviewers, I have reverted all of them. |
#108202
📚 Documentation preview 📚: https://cpython-previews--127608.org.readthedocs.build/