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

Documentation disagrees with implementation about tuple/list for build and pre-release #54

Open
duk3luk3 opened this issue Aug 8, 2017 · 1 comment
Milestone

Comments

@duk3luk3
Copy link

duk3luk3 commented Aug 8, 2017

The Readme suggests that

semantic_version.Version('0.1.1').build

should be [], but in version 2.6.0 of semantic_version it is instead ().

This makes little practical difference in most cases, except when you do something like

if v.build == []:
    ...

which will never work.

@rbarrois rbarrois added this to the 3.x milestone Feb 28, 2023
@rbarrois
Copy link
Owner

Should be fixed when adding type hints, as per #138 — planned for version 3.0.

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

No branches or pull requests

2 participants