diff options
Diffstat (limited to 'python.wiki')
-rw-r--r-- | python.wiki | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/python.wiki b/python.wiki deleted file mode 100644 index 1abbf49..0000000 --- a/python.wiki +++ /dev/null @@ -1,20 +0,0 @@ -= Properties = -property - -{{{python -field = property(get_f, set_f) -}}} - -{{{python -class C: - def __init__(self): - self._x = 10 - - @property - def x(self): - return self._x - - @x.setter - def x(self, value): - self._x = value -}}} |