summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/python-mode/ifmain
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/python-mode/ifmain')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/python-mode/ifmain4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/python-mode/ifmain b/emacs.d/lisp/yasnippet/snippets/python-mode/ifmain
new file mode 100644
index 0000000..6224923
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/python-mode/ifmain
@@ -0,0 +1,4 @@
+#name : if __name__ == '__main__': ...
+# --
+if __name__ == '__main__':
+ $0 \ No newline at end of file