mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Stdlib: add many missing __hash__ and __eq__ methods (#10464)
This commit is contained in:
@@ -70,6 +70,7 @@ class array(MutableSequence[_T], Generic[_T]):
|
||||
def __setitem__(self, __key: slice, __value: array[_T]) -> None: ...
|
||||
def __delitem__(self, __key: SupportsIndex | slice) -> None: ...
|
||||
def __add__(self, __value: array[_T]) -> array[_T]: ...
|
||||
def __eq__(self, __value: object) -> bool: ...
|
||||
def __ge__(self, __value: array[_T]) -> bool: ...
|
||||
def __gt__(self, __value: array[_T]) -> bool: ...
|
||||
def __iadd__(self, __value: array[_T]) -> Self: ... # type: ignore[override]
|
||||
|
||||
Reference in New Issue
Block a user