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