summaryrefslogtreecommitdiff
path: root/.emacs.d/mysnippets/text-mode/python-mode/mpropg
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/mysnippets/text-mode/python-mode/mpropg')
-rw-r--r--.emacs.d/mysnippets/text-mode/python-mode/mpropg10
1 files changed, 10 insertions, 0 deletions
diff --git a/.emacs.d/mysnippets/text-mode/python-mode/mpropg b/.emacs.d/mysnippets/text-mode/python-mode/mpropg
new file mode 100644
index 0000000..6fa9011
--- /dev/null
+++ b/.emacs.d/mysnippets/text-mode/python-mode/mpropg
@@ -0,0 +1,10 @@
1#contributor : Simeon Simeonov <blackmore@pichove.org>
2#name : @property foo ... getter
3# --
4@property
5def ${1:foo}(self):
6 """
7 """
8 return self._$1
9
10$0