Package pysql :: Module pysqlupdate :: Class Version
[hide private]
[frames] | no frames]

Class Version

source code

Pysql Version handling according to release policy Release model : Major.Minor.Fix Major and minor are mandatory, fix is optionnal Release can be "snapshot" (case unsensitive). If not defined, major/minor/fix are set to empty str "" Standard comparison operator are defined : <, >, <=, <= and ==

Instance Methods [hide private]
 
__init__(self, versionStr)
Create version instance from version str
source code
 
__lt__(self, version) source code
 
__gt__(self, version) source code
 
__eq__(self, version) source code
 
__le__(self, version) source code
 
__ge__(self, version) source code
 
__str__(self) source code