aboutsummaryrefslogtreecommitdiff
path: root/python.wiki
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-12-21 17:06:11 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-12-21 17:06:11 +0100
commit84d8566fec7c2a6b97b9fa10fd0c89eb6baf06e5 (patch)
tree39469ea90359ad863e3093e47523388260da2510 /python.wiki
parenttor 15 dec 2022 04:36:49 CET (diff)
downloadwiki-public-84d8566fec7c2a6b97b9fa10fd0c89eb6baf06e5.tar.gz
wiki-public-84d8566fec7c2a6b97b9fa10fd0c89eb6baf06e5.tar.xz
ons 21 dec. 2022 17:06:10 CET
Diffstat (limited to 'python.wiki')
-rw-r--r--python.wiki20
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
-}}}