mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Remove duplicate definitions (#8483)
This commit is contained in:
@@ -47,7 +47,6 @@ class array(MutableSequence[_T], Generic[_T]):
|
||||
def insert(self, __i: int, __v: _T) -> None: ...
|
||||
def pop(self, __i: int = ...) -> _T: ...
|
||||
def remove(self, __v: _T) -> None: ...
|
||||
def reverse(self) -> None: ...
|
||||
def tobytes(self) -> bytes: ...
|
||||
def tofile(self, __f: SupportsWrite[bytes]) -> None: ...
|
||||
def tolist(self) -> list[_T]: ...
|
||||
@@ -56,7 +55,6 @@ class array(MutableSequence[_T], Generic[_T]):
|
||||
def fromstring(self, __buffer: bytes) -> None: ...
|
||||
def tostring(self) -> bytes: ...
|
||||
|
||||
def __contains__(self, __key: object) -> bool: ...
|
||||
def __len__(self) -> int: ...
|
||||
@overload
|
||||
def __getitem__(self, __i: SupportsIndex) -> _T: ...
|
||||
|
||||
Reference in New Issue
Block a user