Skip to content

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

Open

Description

@duk3luk3

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.

Activity

  1. added this to the 3.x milestone on Feb 28, 2023
  2. rbarrois commented on Feb 28, 2023

    @rbarrois
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions