Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Trivial: Introduce public Version.NAMES class variable #389

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 1 commit into from
Dec 23, 2022

Conversation

tomschr
Copy link
Member

@tomschr tomschr commented Dec 23, 2022

This class variable contains a tuple of strings that contains the names of all attributes of a Version (like "major", "minor" etc).

In cases we need to have dynamical values, this makes it easier to iterate.

@tomschr tomschr added the Enhancement Not a bug, but increases or improves in value, quality, desirability, or attractiveness label Dec 23, 2022
This class variable contains a tuple of strings that
contains the names of all attributes of a Version
(like "major", "minor" etc).

In cases we need to have dynamical values, this
makes it easier to iterate.
@tomschr tomschr force-pushed the feature/version.names branch from 3e0062a to 86fcf48 Compare December 23, 2022 15:32
@tomschr tomschr changed the title Introduce public Version.NAMES class variable Trivial: Introduce public Version.NAMES class variable Dec 23, 2022
@tomschr tomschr marked this pull request as ready for review December 23, 2022 15:35
@tomschr tomschr merged commit 0ca281d into python-semver:master Dec 23, 2022
@tomschr tomschr deleted the feature/version.names branch December 23, 2022 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Not a bug, but increases or improves in value, quality, desirability, or attractiveness
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.