8000 Yet another attempt to fix list.__add__ by Akuli · Pull Request #8293 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Yet another attempt to fix list.__add__ #8293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jul 15, 2022
Merged
Prev Previous commit
Next Next commit
Update stdlib/builtins.pyi
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
  • Loading branch information
Akuli and AlexWaygood authored Jul 13, 2022
commit eb2e48cc35e670ca376fc0aef006d059f51e0f3b
2 changes: 1 addition & 1 deletion stdlib/builtins.pyi
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ class list(MutableSequence[_T], Generic[_T]):
def __add__(self, __x: list[_T]) -> list[_T]: ...
@overload
def __add__(self, __x: list[_S]) -> list[_S | _T]: ...
def __iadd__(self: Self, __x: Iterable[_T]) -> Self: ... # type: ignore
def __iadd__(self: Self, __x: Iterable[_T]) -> Self: ... # type: ignore[misc]
def __mul__(self, __n: SupportsIndex) -> list[_T]: ...
def __rmul__(self, __n: SupportsIndex) -> list[_T]: ...
def __imul__(self: Self, __n: SupportsIndex) -> Self: ...
Expand Down
0