mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 11:44:39 +07:00
20 lines
301 B
Python
20 lines
301 B
Python
__author__ = 'ktisha'
|
|
|
|
class C(object):
|
|
def __init__(self):
|
|
self._x = None
|
|
|
|
@property
|
|
def x(self):
|
|
"""I'm the 'x' property."""
|
|
return "property"
|
|
|
|
@x.setter
|
|
def x(self, value):
|
|
print "setter"
|
|
|
|
@x.deleter
|
|
def x(self):
|
|
print "deleter"
|
|
|