From 8164dbe5a6ce5ba2187ef6a1347bf7c3819e7034 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sun, 4 Sep 2022 15:12:01 +0300 Subject: [PATCH] power_insn: inherit PPCMultiRecord from frozenset --- src/openpower/decoder/power_insn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index 3a3a6625..d65c8568 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -236,7 +236,7 @@ class PPCRecord: return frozenset(self.comment.split("=")[-1].split("/")) -class PPCMultiRecord(tuple): +class PPCMultiRecord(frozenset): @cached_property def unified(self): def merge(lhs, rhs): -- 2.30.2