From 84d8566fec7c2a6b97b9fa10fd0c89eb6baf06e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Wed, 21 Dec 2022 17:06:11 +0100 Subject: ons 21 dec. 2022 17:06:10 CET --- python.wiki | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 python.wiki (limited to 'python.wiki') 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 -}}} -- cgit v1.2.3