From ff160687915804b109fe626a5c7fbe949f227106 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Wed, 10 Jan 2024 21:49:17 +0100 Subject: Update markdown-mode and yasnippet. Add some new Python snippets --- .emacs.d/snippets/python-mode/__call__ | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .emacs.d/snippets/python-mode/__call__ (limited to '.emacs.d/snippets/python-mode/__call__') diff --git a/.emacs.d/snippets/python-mode/__call__ b/.emacs.d/snippets/python-mode/__call__ new file mode 100644 index 0000000..e807be5 --- /dev/null +++ b/.emacs.d/snippets/python-mode/__call__ @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: __call__ +# key: _call +# group: Special methods +# -- +def __call__(self, ${1:*args}): + return $0 -- cgit v1.3