my-emacs-d/elpa/yasnippet-20161022.646/snippets/python-mode/eq
2016-10-24 08:30:06 +02:00

7 lines
133 B
Plaintext

# -*- mode: snippet -*-
# name: __eq__
# key: eq
# group: dunder methods
# --
def __eq__(self, other):
return self.$1 == other.$1