mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 20:41:22 +07:00
12 lines
254 B
Python
12 lines
254 B
Python
class C(object):
|
|
def __init__(self, value):
|
|
self.x = value
|
|
|
|
def getx(self):
|
|
return self._x
|
|
|
|
def setx(self, value):
|
|
self._x = value # False positive for self._x
|
|
|
|
x = property(getx, setx, doc="The 'x' property.")
|