You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
class A:
|
|
def __init__(self, a, b):
|
|
self._a = a
|
|
self.__b = b
|
|
|
|
@property
|
|
def super_duper_var(self):
|
|
print(self)
|
|
return self.__b
|
|
|
|
@super_duper_var.setter
|
|
def super_duper_var(self, value):
|
|
self.__b = value
|
|
|
|
# @super_duper_var.deleter
|
|
# def super_duper_var(self):
|
|
# pass
|
|
|