From e7dd5245c35d2794f59bcf700a6a92009ec8c478 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Fri, 28 Jun 2024 21:30:42 -0700 Subject: stuff --- yasnippet/python-mode/namemain | 6 ++++++ yasnippet/python-mode/pclass | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 yasnippet/python-mode/namemain create mode 100644 yasnippet/python-mode/pclass (limited to 'yasnippet/python-mode') diff --git a/yasnippet/python-mode/namemain b/yasnippet/python-mode/namemain new file mode 100644 index 0000000..870114c --- /dev/null +++ b/yasnippet/python-mode/namemain @@ -0,0 +1,6 @@ +# -*- mode: snippet -*- +# name: namemain +# key: namemain +# -- +if __name__ == "__main__": + $0 \ No newline at end of file diff --git a/yasnippet/python-mode/pclass b/yasnippet/python-mode/pclass new file mode 100644 index 0000000..1e6b8f7 --- /dev/null +++ b/yasnippet/python-mode/pclass @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# name: pclass +# key: pclass +# -- + +class $1: + def __init__(self$2): + $0 -- cgit