Skip to content

Conversation

@planet36
Copy link
Contributor

@planet36 planet36 commented Feb 2, 2024

Use FIRST_WEEKDAY rather than WEEKDAY to be in agreement with the command line help message.

Note which Python version the option was added to.


📚 Documentation preview 📚: https://cpython-previews--114910.org.readthedocs.build/

Use FIRST_WEEKDAY rather than WEEKDAY to be in agreement with the
command line help message.
Note which Python version the option was added to.
Must be a number between 0 (Monday) and 6 (Sunday).
Defaults to 0.

.. versionadded:: 3.13
Copy link
Member

Choose a reason for hiding this comment

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

@erlend-aasland We talked recently about the distinction between versionadded and versionchanged, which do you think we should have here?

https://devguide.python.org/documentation/markup/#paragraph-level-markup

Copy link
Member

Choose a reason for hiding this comment

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

If it is applied to the option -- versionadded. If to the whole CLI -- versionchanged.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, this looks correct to me.

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

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

LGTM.

Must be a number between 0 (Monday) and 6 (Sunday).
Defaults to 0.

.. versionadded:: 3.13
Copy link
Member

Choose a reason for hiding this comment

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

If it is applied to the option -- versionadded. If to the whole CLI -- versionchanged.

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 all!

@hugovk hugovk merged commit ee66c33 into python:main Feb 2, 2024
@planet36 planet36 deleted the gh-114909 branch February 2, 2024 15:37
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this pull request Feb 14, 2024
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.

4 participants