major#

property Version.major: int#

The first item of release or 0 if unavailable.

>>> Version("1.2.3").major
1