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