mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-25 05:57:22 +08:00
Delete many redundant method redefinitions (#6877)
This commit is contained in:
1 parent
bb6a6e3421
commit
4e046163b5
26 files changed
-50
No files matched your search
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user