From: Dmitry Selyutin Date: Sat, 10 Jun 2023 18:16:42 +0000 (+0300) Subject: insndb/core: switch PPCMultiRecord to Tuple X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71355d40f46b0350832849589a83814bbb452654;p=openpower-isa.git insndb/core: switch PPCMultiRecord to Tuple --- diff --git a/src/openpower/insndb/core.py b/src/openpower/insndb/core.py index 2cd7d5fb..367008e1 100644 --- a/src/openpower/insndb/core.py +++ b/src/openpower/insndb/core.py @@ -440,7 +440,7 @@ class PPCRecord(Dataclass): return frozenset(self.comment.split("=")[-1].split("/")) -class PPCMultiRecord(tuple): +class PPCMultiRecord(Tuple, datatype=PPCRecord): def __getattr__(self, attr): if attr == "opcode": if len(self) != 1: