mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 13:05:14 +08:00
Add type stubs for gdb.Value comparison operators (#9411)
This commit is contained in:
1 parent
0cf685cc17
commit
c13a9ed985
1 file changed
+6
@@ -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