mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 00:50:53 +07:00
17 lines
281 B
Python
17 lines
281 B
Python
class C(object):
|
|
def __init__(self):
|
|
self._x = None
|
|
|
|
@property
|
|
def bar(self):
|
|
"""I'm the 'x' property."""
|
|
return self._x
|
|
|
|
@bar.setter
|
|
def bar(self, value):
|
|
self._x = value
|
|
|
|
@bar.deleter
|
|
def bar(self):
|
|
del self._x
|