mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 21:50:54 +07:00
17 lines
288 B
Python
17 lines
288 B
Python
class C(object):
|
|
def __init__(self):
|
|
self._x = None
|
|
|
|
@property
|
|
def fo<caret>o(self):
|
|
"""I'm the 'x' property."""
|
|
return self._x
|
|
|
|
@foo.setter
|
|
def foo(self, value):
|
|
self._x = value
|
|
|
|
@foo.deleter
|
|
def foo(self):
|
|
del self._x
|