major property

Object? get major

major (getter)

python docstring

This class abstracts handling of a project's versions.

A :class:Version instance is comparison aware and can be compared and sorted using the standard Python interfaces.

v1 = Version("1.0a5") v2 = Version("1.0") v1 <Version('1.0a5')> v2 <Version('1.0')> v1 < v2 True v1 == v2 False v1 > v2 False v1 >= v2 False v1 <= v2 True

Implementation

Object? get major => getAttribute("major");
set major (Object? major)

major (setter)

python docstring

This class abstracts handling of a project's versions.

A :class:Version instance is comparison aware and can be compared and sorted using the standard Python interfaces.

v1 = Version("1.0a5") v2 = Version("1.0") v1 <Version('1.0a5')> v2 <Version('1.0')> v1 < v2 True v1 == v2 False v1 > v2 False v1 >= v2 False v1 <= v2 True

Implementation

set major(Object? major) => setAttribute("major", major);