Skip to content
Snippets Groups Projects

Fix typo in CustomCodeNode.__eq__

2 files
+ 11
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -151,8 +151,8 @@ class CustomCodeNode(Node):
def undefined_symbols(self):
return self._symbols_read - self._symbols_defined
def __eq___(self, other):
return self._code == other._code
def __eq__(self, other):
return type(self) == type(other) and self._code == other._code
def __hash__(self):
return hash(self._code)
Loading