-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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 prweek
#108466
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: apurvakhatri <[email protected]>
The following commit authors need to sign the Contributor License Agreement: |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
prweek
and mdays
calendar
: Document prweek
and mdays
@apurvakhatri please could you split this PR into two parts? We haven't discussed if we want to document A |
Sure, will do that! Should I create a new PR or just remove mdays from this PR request? |
The latter is likely easier. Perhaps also consider documenting all A |
This comment was marked as outdated.
This comment was marked as outdated.
Signed-off-by: apurvakhatri <[email protected]>
7ef6700
to
ef61b8c
Compare
@apurvakhatri please avoid force pushes, see the devguide:
|
Please also restrict this PR to just |
Signed-off-by: apurvakhatri <[email protected]>
calendar
: Document prweek
and mdays
calendar
: Document prweek
calendar
: Document prweek
calendar
: Document prweek
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.
@apurvakhatri Hello! Please could you sign the CLA? We can't merge before then.
@@ -138,6 +138,11 @@ interpreted as prescribed by the ISO 8601 standard. Year 0 is 1 BC, year -1 is | |||
|
|||
:class:`TextCalendar` instances have the following methods: | |||
|
|||
.. method:: prweek(theweek, width) | |||
|
|||
Print a week's calendar as returned by :meth:`formatweek` and sets the |
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.
This will silence the warning (it can be reverted when the formatweek
documentation is added):
Print a week's calendar as returned by :meth:`formatweek` and sets the | |
Print a week's calendar as returned by :meth:`!formatweek` and sets the |
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
@apurvakhatri you may have forgotten about this PR however if you would like to see it merged please look into signing the CLA. |
📚 Documentation preview 📚: https://cpython-previews--108466.org.readthedocs.build/