Skip to content

Commit

Permalink
add BaseListProxy.__imul__ (python#13266)
Browse files Browse the repository at this point in the history
  • Loading branch information
tungol authored Dec 20, 2024
1 parent e7a9b83 commit 8e31597
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion stdlib/@tests/stubtest_allowlists/common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,6 @@ multiprocessing.dummy.RLock

# These multiprocessing proxy methods have *args, **kwargs signatures at runtime,
# But have more precise (accurate) signatures in the stub
multiprocessing.managers.BaseListProxy.__imul__
multiprocessing.managers.BaseListProxy.__len__
multiprocessing.managers.BaseListProxy.__reversed__
multiprocessing.managers.BaseListProxy.reverse
Expand Down
1 change: 1 addition & 0 deletions stdlib/multiprocessing/managers.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ class BaseListProxy(BaseProxy, MutableSequence[_T]):
def __setitem__(self, s: slice, o: Iterable[_T], /) -> None: ...
def __mul__(self, n: SupportsIndex, /) -> list[_T]: ...
def __rmul__(self, n: SupportsIndex, /) -> list[_T]: ...
def __imul__(self, value: SupportsIndex, /) -> Self: ...
def __reversed__(self) -> Iterator[_T]: ...
def append(self, object: _T, /) -> None: ...
def extend(self, iterable: Iterable[_T], /) -> None: ...
Expand Down

0 comments on commit 8e31597

Please sign in to comment.