mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
[gdb] Add __r{add,sub,mul,truediv,mod}__ for gdb.Value (#11707)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user