mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-17 11:31:25 +08:00
stdlib: correct many pos-or-kw arg names in dunder methods (#7451)
This commit is contained in:
1 parent
626ccdaee2
commit
f4ae363b56
27 files changed
+153
-162
No files matched your search
@@ -88,9 +88,10 @@ class Traceback(Sequence[Frame]):
|
||||
def format(self, limit: int | None = ...) -> list[str]: ...
|
||||
|
||||
@overload
|
||||
def __getitem__(self, i: SupportsIndex) -> Frame: ...
|
||||
def __getitem__(self, index: SupportsIndex) -> Frame: ...
|
||||
@overload
|
||||
def __getitem__(self, s: slice) -> Sequence[Frame]: ...
|
||||
def __getitem__(self, index: slice) -> Sequence[Frame]: ...
|
||||
def __contains__(self, frame: Frame) -> bool: ... # type: ignore[override]
|
||||
def __len__(self) -> int: ...
|
||||
def __eq__(self, other: object) -> bool: ...
|
||||
def __lt__(self, other: Traceback) -> bool: ...
|
||||
|
||||
Reference in new issue
Block a user