Skip to content

Commit 0fe433a

Browse files
Update stdlib/builtins.pyi
Co-authored-by: Joren Hammudoglu <jhammudoglu@gmail.com>
1 parent de86d71 commit 0fe433a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

stdlib/builtins.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,6 @@ class list(MutableSequence[_T]):
11531153
@overload
11541154
def __setitem__(self, key: slice[SupportsIndex | None], value: Iterable[_T], /) -> None: ...
11551155
def __delitem__(self, key: SupportsIndex | slice[SupportsIndex | None], /) -> None: ...
1156-
# Overloading looks unnecessary, but is needed to work around complex mypy problems
11571156
def __add__(self, value: list[_S], /) -> list[_S | _T]: ...
11581157
def __iadd__(self, value: Iterable[_T], /) -> Self: ... # type: ignore[misc]
11591158
def __mul__(self, value: SupportsIndex, /) -> list[_T]: ...

0 commit comments

Comments
 (0)