From bcd6535693fc1e3c8b8c406d4d3f089d7abd3555 Mon Sep 17 00:00:00 2001 From: toby <80687022+toby-bro@users.noreply.github.com> Date: Fri, 27 Mar 2026 23:44:27 +0100 Subject: [PATCH] feat(OpCode): add name and value properties to OpCode class --- pypcode/pypcode_native.pyi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pypcode/pypcode_native.pyi b/pypcode/pypcode_native.pyi index 8c21eda..7dac126 100644 --- a/pypcode/pypcode_native.pyi +++ b/pypcode/pypcode_native.pyi @@ -113,6 +113,10 @@ class OpCode: SUBPIECE: ClassVar[OpCode] = ... __entries: ClassVar[dict] = ... __name__: Any + @property + def name(self) -> str: ... + @property + def value(self) -> int: ... def __init__(self, *args, **kwargs) -> None: ... def __eq__(self, other) -> Any: ... def __ge__(self, other) -> Any: ...