From c71d2604b9be989d93a1aea38b124d54e2cbfaa3 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 21 Feb 2024 07:07:30 +0000 Subject: [PATCH] Add defaults to tempel python snippets --- templates | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates b/templates index ee85cb0..7237147 100644 --- a/templates +++ b/templates @@ -153,8 +153,8 @@ org-mode python-base-mode -(main "def main(" p ") -> " p ":" n> q) -(ifmain "if __name__ == \"__main__\":" n> "main()") +(main "def main(" (p "*args, **kwargs") ") -> " (p "None") ":" n > q "return") +(ifmain "if __name__ == \"__main__\":" n > "main()") ;; Local Variables: ;; mode: lisp-data