class documentation

class LXCVersion(tuple):

View In Hierarchy

LXC version class.

Method __new__ Undocumented
Method __str__ Undocumented
Class Method _Parse Parse a passed string as an LXC version string.
Constant _VERSION_RE Undocumented
def __new__(cls, version_string):

Undocumented

def __str__(self):

Undocumented

@classmethod
def _Parse(cls, version_string):

Parse a passed string as an LXC version string.

Parameters
version_string:stringa valid LXC version string
Raises
ValueErrorif version_string is an invalid LXC version string @rtype tuple(int, int, int) @return (major_num, minor_num, micro_num)
_VERSION_RE =

Undocumented

Value
re.compile(r'^(\d+)\.(\d+)\.(\d+)')