summary refs log tree commit diff
path: root/emacs/etc
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-01-18 18:46:17 -0800
committerFranck Cuny <franck@fcuny.net>2023-01-18 18:46:17 -0800
commitd90ec51461785c1b8119da54c58da99407526481 (patch)
treeb363a915348564fb92928fc0716aefb9bcb169f8 /emacs/etc
parentfeat(snippets/markdown): start a new blog entry (diff)
downloademacs.d-d90ec51461785c1b8119da54c58da99407526481.tar.gz
fix(snippets/python): add the main function
Change-Id: If8e239bfd07cb8c3525b9f501af03dd4534fc857
Diffstat (limited to 'emacs/etc')
-rw-r--r--emacs/etc/snippets/python-mode/main3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/etc/snippets/python-mode/main b/emacs/etc/snippets/python-mode/main
index b2890c2..b1564a8 100644
--- a/emacs/etc/snippets/python-mode/main
+++ b/emacs/etc/snippets/python-mode/main
@@ -2,5 +2,8 @@
 # name: main
 # key: main
 # --
+def main():
+    pass
+
 if __name__ == "__main__":
     main()
\ No newline at end of file