Skip to content
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

Use sys.version_info's namedtuple fields #2227

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

Avasam
Copy link
Collaborator

@Avasam Avasam commented Mar 25, 2024

Using a namedtuple's fields rather than indexes leads to more human-readable code.
This also goes in the direction of #2223

@Avasam Avasam merged commit d9c8ce5 into mhammond:main Apr 11, 2024
27 checks passed
@Avasam Avasam deleted the version_info-named-tuple branch April 11, 2024 17:13
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