Skip to content

Implement __getitem__ for #138#243

Merged
tomschr merged 1 commit intopython-semver:masterfrom
tomschr:feature/138-add-__getitem__
May 1, 2020
Merged

Implement __getitem__ for #138#243
tomschr merged 1 commit intopython-semver:masterfrom
tomschr:feature/138-add-__getitem__

Conversation

@tomschr
Copy link
Member

@tomschr tomschr commented Apr 26, 2020

This PR is a fresh implementation of #138 and contains:

  • Add __getitem__ to VersionInfo class
  • Add test cases
  • Add user documentation
  • Extend CHANGELOG

@tlaferriere, @bittner: As pr #138 was a bit older and a lot of things have changed now, I've created a fresh new branch so we won't get any conflicts. On top of that, I've added the implementation. If you would like to have a look, that would be great. 👍

* Add __getitem__ to VersionInfo class
* Add test cases
* Add user documentation
* Extend CHANGELOG


Co-authored-by: Thomas Laferriere <tlaferriere@users.noreply.github.com>
Co-authored-by: Peter Bittner <bittner@users.noreply.github.com>
Co-authored-by: Karol Werner <ppkt@users.noreply.github.com>
Co-authored-by: Sébastien Celles <scls19fr@users.noreply.github.com>
@tomschr tomschr added the Enhancement Not a bug, but increases or improves in value, quality, desirability, or attractiveness label Apr 26, 2020
@tomschr tomschr requested a review from a team April 26, 2020 09:43
@tomschr tomschr self-assigned this Apr 26, 2020
@tomschr
Copy link
Member Author

tomschr commented May 1, 2020

As nobody seem to object, I'd merge it.

@tomschr tomschr merged commit 2ef2eea into python-semver:master May 1, 2020
@tomschr tomschr deleted the feature/138-add-__getitem__ branch May 1, 2020 12:37
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.

2 participants