From 897eee81de8b3f6adf0165f50e95600a7b89c20c Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Wed, 4 Feb 2015 21:41:42 +0100 Subject: Standalone lisp and snippet repo --- .emacs.d/snippets/python-mode/eq | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .emacs.d/snippets/python-mode/eq (limited to '.emacs.d/snippets/python-mode/eq') diff --git a/.emacs.d/snippets/python-mode/eq b/.emacs.d/snippets/python-mode/eq new file mode 100644 index 0000000..e19c328 --- /dev/null +++ b/.emacs.d/snippets/python-mode/eq @@ -0,0 +1,7 @@ +# -*- mode: snippet -*- +# name: __eq__ +# key: eq +# group: dunder methods +# -- +def __eq__(self, other): + return self.$1 == other.$1 \ No newline at end of file -- cgit v1.3