Add defaults to tempel python snippets
This commit is contained in:
parent
cef5747a5f
commit
c71d2604b9
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue