class Class(object):
def some_value():
doc = "The some_value property."
def fget(self):
return self._some_value
def fset(self, value):
self._some_value = value
def fdel(self):
del self._some_value
return locals()
some_value = property(**some_value())
Class.some_value = 5
first = Class()
second = Class()
print Class.some_value
print first.some_value
print second.some_value