Package dogtail :: Module version :: Class Version
[hide private]
[frames] | no frames]

Class Version

source code

Class representing a version of a software package. Stored internally as a list of subversions, from major to minor. Overloaded comparison operators ought to work sanely.

Instance Methods [hide private]
 
__init__(self, versionList) source code
 
__str__(self) source code
 
__getNum(self) source code
 
__lt__(self, other) source code
 
__le__(self, other) source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code
 
__gt__(self, other) source code
 
__ge__(self, other) source code
Static Methods [hide private]
 
fromString(versionString)
Parse a string of the form number.number.number
source code