← 输入框|github.com|刷新
Skip to content

__getitem__ returns None for version parts that are falsy #260

Closed

Description

@tlaferriere

For example, VersionInfo(0, 1, 0, 'r.1')[2] returns None when it should return 0.

Activity

  1. added
    Bug
    on Jun 9, 2020
  2. added a commit that references this issue on Jun 10, 2020
    f332326
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

    Bug

    Type

    No type

    Fields

    SIze

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions