mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-10 15:32:38 -07:00
9 lines
267 B
Python
9 lines
267 B
Python
class Version(object):
|
|
'''Version of the package'''
|
|
|
|
def __setattr__(self, *args):
|
|
raise TypeError('cannot modify immutable instance')
|
|
__delattr__ = __setattr__
|
|
|
|
def __init__(self, num):
|
|
super(Version, self).__setattr__('number', num)
|