Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use Final for Constant Literals in the stdlib #12332

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

Merged
merged 16 commits into from
Jul 15, 2024

Conversation

max-muoto
Copy link
Contributor

@max-muoto max-muoto commented Jul 13, 2024

Use Final for constant literals per this comment.

@max-muoto max-muoto force-pushed the constant-final-literal branch from 1dc2062 to 9262136 Compare July 13, 2024 17:19

This comment has been minimized.

@max-muoto max-muoto marked this pull request as ready for review July 13, 2024 17:39
Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

Thanks! Mostly looks great, but a few changes I suggest deferring to a followup:

@max-muoto
Copy link
Contributor Author

Thanks! Mostly looks great, but a few changes I suggest deferring to a followup:

Thanks! Sorry didn't mean to make some of those changes you saw.

This comment has been minimized.

Copy link
Member

@AlexWaygood AlexWaygood left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@AlexWaygood AlexWaygood changed the title Use Final for Constant Literals Use Final for Constant Literals in the stdlib Jul 15, 2024
@AlexWaygood AlexWaygood merged commit 0df6028 into python:main Jul 15, 2024
63 checks passed
max-muoto added a commit to max-muoto/typeshed that referenced this pull request Jul 23, 2024
max-muoto added a commit to max-muoto/typeshed that referenced this pull request Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants