diff --git a/sopel/tools/memories.py b/sopel/tools/memories.py index aa21af7db..ab79922a2 100644 --- a/sopel/tools/memories.py +++ b/sopel/tools/memories.py @@ -58,12 +58,6 @@ def __contains__(self, key): self.lock.release() return result - # Needed to make it explicit that we don't care about the `lock` attribute - # when comparing/hashing SopelMemory objects. - __eq__ = dict.__eq__ - __ne__ = dict.__ne__ - __hash__ = dict.__hash__ - class SopelMemoryWithDefault(defaultdict): """Same as SopelMemory, but subclasses from collections.defaultdict.