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/__str__ | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .emacs.d/snippets/python-mode/__str__ (limited to '.emacs.d/snippets/python-mode/__str__') diff --git a/.emacs.d/snippets/python-mode/__str__ b/.emacs.d/snippets/python-mode/__str__ new file mode 100644 index 0000000..f623df7 --- /dev/null +++ b/.emacs.d/snippets/python-mode/__str__ @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: __str__ +# key: _str +# group: Special methods +# -- +def __str__(self): + return $0 -- cgit v1.3