Skip to content

Commit 96c4c04

Browse files
authored
OpCode: Add value and name props to stub file
1 parent 7b16cb0 commit 96c4c04

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pypcode/pypcode_native.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ class OpCode:
113113
SUBPIECE: ClassVar[OpCode] = ...
114114
__entries: ClassVar[dict] = ...
115115
__name__: Any
116+
@property
117+
def name(self) -> str: ...
118+
@property
119+
def value(self) -> int: ...
116120
def __init__(self, *args, **kwargs) -> None: ...
117121
def __eq__(self, other) -> Any: ...
118122
def __ge__(self, other) -> Any: ...

0 commit comments

Comments
 (0)