[gdb] Add __r{add,sub,mul,truediv,mod}__ for gdb.Value (#11707)

This commit is contained in:
Sami Liedes
2024-04-07 12:53:56 +02:00
committed by GitHub
parent e922682603
commit d5972ba565

View File

@@ -84,10 +84,15 @@ class Value:
def __int__(self) -> int: ...
def __float__(self) -> float: ...
def __add__(self, other: _ValueOrNative) -> Value: ...
def __radd__(self, other: _ValueOrNative) -> Value: ...
def __sub__(self, other: _ValueOrNative) -> Value: ...
def __rsub__(self, other: _ValueOrNative) -> Value: ...
def __mul__(self, other: _ValueOrNative) -> Value: ...
def __rmul__(self, other: _ValueOrNative) -> Value: ...
def __truediv__(self, other: _ValueOrNative) -> Value: ...
def __rtruediv__(self, other: _ValueOrNative) -> Value: ...
def __mod__(self, other: _ValueOrNative) -> Value: ...
def __rmod__(self, other: _ValueOrNative) -> Value: ...
def __pow__(self, other: _ValueOrNative, mod: None = None) -> Value: ...
def __and__(self, other: _ValueOrNative) -> Value: ...
def __or__(self, other: _ValueOrNative) -> Value: ...