Remove duplicate definitions (#8483)

This commit is contained in:
Nikita Sobolev
2022-08-04 19:55:18 +03:00
committed by GitHub
parent 103c2f39d2
commit a376da87bd
20 changed files with 4 additions and 101 deletions

View File

@@ -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: ...