mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-03-12 04:35:40 -07:00
10 lines
267 B
Python
10 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)
|