dotfiles/.emacs.d/snippets/python-mode/eq

7 lines
133 B
Plaintext
Raw Normal View History

2017-12-21 17:29:29 +01:00
# -*- mode: snippet -*-
# name: __eq__
# key: eq
# group: dunder methods
# --
def __eq__(self, other):
return self.$1 == other.$1