mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Add type stubs for gdb.Value comparison operators (#9411)
This commit is contained in:
@@ -78,6 +78,12 @@ class Value:
|
||||
def __xor__(self, other: _ValueOrInt) -> Value: ...
|
||||
def __lshift__(self, other: _ValueOrInt) -> Value: ...
|
||||
def __rshift__(self, other: _ValueOrInt) -> Value: ...
|
||||
def __eq__(self, other: _ValueOrInt) -> bool: ... # type: ignore[override]
|
||||
def __ne__(self, other: _ValueOrInt) -> bool: ... # type: ignore[override]
|
||||
def __lt__(self, other: _ValueOrInt) -> bool: ...
|
||||
def __le__(self, other: _ValueOrInt) -> bool: ...
|
||||
def __gt__(self, other: _ValueOrInt) -> bool: ...
|
||||
def __ge__(self, other: _ValueOrInt) -> bool: ...
|
||||
def __getitem__(self, key: int | str | Field) -> Value: ...
|
||||
def __call__(self, *args: _ValueOrNative) -> Value: ...
|
||||
def __init__(self, val: _ValueOrNative) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user