Skip to content

Commit aae7806

Browse files
committed
fix default return for Ins __eq__
1 parent fddd569 commit aae7806

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

util/patch/dis.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ def __eq__(self, other):
267267
bool(self.re and self.re.match(other.mne)) or
268268
bool(other.re and other.re.match(self.mne))) and
269269
len(other.ops) == len(self.ops) and all(other.ops[i] == op for i, op in enumerate(self.ops)))
270+
return False
270271

271272
def __str__(self):
272273
out = '%s %s' % (self.mne, self.op_str())

0 commit comments

Comments
 (0)