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

Class Version

source code

object --+
         |
        Version

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)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__str__(self)
str(x)
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

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Static Methods [hide private]
 
fromString(versionString)
Parse a string of the form number.number.number
source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, versionList)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)