basedpyright 1.31.4-62324341eef4d2bc0a1f5673f5b1b95f691aee09 → 1.31.4-6bad1a0dba4a2dd1c3924e8220f077938cb7071e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3433,13 +3433,7 @@ class list(MutableSequence[_T]):
3433
3433
  def __delitem__(self, key: SupportsIndex | slice, /) -> None:
3434
3434
  """Delete self[key]."""
3435
3435
  ...
3436
- # Overloading looks unnecessary, but is needed to work around complex mypy problems
3437
- @overload
3438
- def __add__(self, value: list[_T], /) -> list[_T]:
3439
- """Return self+value."""
3440
- ...
3441
- @overload
3442
- def __add__(self, value: list[_S], /) -> list[_S | _T]:
3436
+ def __add__[Other, Expected](self, value: list[Other], /) -> list[Expected | _T | Other]:
3443
3437
  """Return self+value."""
3444
3438
  ...
3445
3439
  def __iadd__(self, value: Iterable[_T], /) -> Self:
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "basedpyright",
3
3
  "displayName": "basedpyright",
4
4
  "description": "a fork of pyright with various type checking improvements, pylance features and more.",
5
- "version": "1.31.4-62324341eef4d2bc0a1f5673f5b1b95f691aee09",
5
+ "version": "1.31.4-6bad1a0dba4a2dd1c3924e8220f077938cb7071e",
6
6
  "license": "MIT",
7
7
  "author": {
8
8
  "name": "detachhead"