blob: 9e73d4f8c033ec65029d9f0167907d7d569bcc5f (
plain)
1
2
3
4
5
6
7
8
9
|
class _Version(tuple):
"""internal version object, subclass of C{tuple},
but implements a fancier __str__ representation
"""
def __str__(self):
return '.'.join([str(x) for x in self])
version = _Version((0,6,1))
del _Version
|