Delete many redundant method redefinitions (#6877)

This commit is contained in:
Alex Waygood
2022-01-09 19:21:03 +00:00
committed by GitHub
parent bb6a6e3421
commit 4e046163b5
26 changed files with 0 additions and 50 deletions

View File

@@ -200,7 +200,6 @@ class deque(MutableSequence[_T], Generic[_T]):
def rotate(self, __n: int = ...) -> None: ...
def __copy__(self: _S) -> _S: ...
def __len__(self) -> int: ...
def __str__(self) -> str: ...
# These methods of deque don't take slices, unlike MutableSequence, hence the type: ignores
def __getitem__(self, __index: SupportsIndex) -> _T: ... # type: ignore[override]
def __setitem__(self, __i: SupportsIndex, __x: _T) -> None: ... # type: ignore[override]