summaryrefslogtreecommitdiff
path: root/.emacs.d/mysnippets/text-mode/python-mode/mpropg
diff options
context:
space:
mode:
authorSimeon Simeonov2013-09-19 16:21:37 +0200
committerSimeon Simeonov2013-09-19 16:21:37 +0200
commitb045e27c545d4027811637193632ec3ea5ef7858 (patch)
tree666d77325769878a94a3684440b52ddfdb87db88 /.emacs.d/mysnippets/text-mode/python-mode/mpropg
Initial commit
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