From d90ec51461785c1b8119da54c58da99407526481 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 18 Jan 2023 18:46:17 -0800 Subject: fix(snippets/python): add the main function Change-Id: If8e239bfd07cb8c3525b9f501af03dd4534fc857 --- emacs/etc/snippets/python-mode/main | 3 +++ 1 file changed, 3 insertions(+) (limited to 'emacs') 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 -- cgit 1.4.1