mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 13:20:56 +07:00
14 lines
284 B
Python
14 lines
284 B
Python
|
|
class C(object):
|
|
def __init__(self):
|
|
self._x = None
|
|
|
|
@x.setter
|
|
def x(self, value):
|
|
self._x = value
|
|
|
|
c = C()
|
|
print(<warning descr="Property 'x' cannot be read">c.<caret>x</warning>)
|
|
del <warning descr="Property 'x' cannot be deleted">c.x</warning>
|
|
|
|
c.x = 1 |