Searched refs:vstring (Results 1 – 1 of 1) sorted by relevance
38 def __init__ (self, vstring=None): argument39 if vstring:40 self.parse(vstring)134 def parse (self, vstring): argument135 match = self.version_re.match(vstring)137 raise ValueError("invalid version number '%s'" % vstring)156 vstring = '.'.join(map(str, self.version[0:2]))158 vstring = '.'.join(map(str, self.version))161 vstring = vstring + self.prerelease[0] + str(self.prerelease[1])163 return vstring[all …]