Add defaults to tempel python snippets
This commit is contained in:
parent
cef5747a5f
commit
c71d2604b9
|
@ -153,8 +153,8 @@ org-mode
|
||||||
|
|
||||||
python-base-mode
|
python-base-mode
|
||||||
|
|
||||||
(main "def main(" p ") -> " p ":" n> q)
|
(main "def main(" (p "*args, **kwargs") ") -> " (p "None") ":" n > q "return")
|
||||||
(ifmain "if __name__ == \"__main__\":" n> "main()")
|
(ifmain "if __name__ == \"__main__\":" n > "main()")
|
||||||
|
|
||||||
;; Local Variables:
|
;; Local Variables:
|
||||||
;; mode: lisp-data
|
;; mode: lisp-data
|
||||||
|
|
Loading…
Reference in a new issue