Skip to content

Commit 8e31597

Browse files
authored
add BaseListProxy.__imul__ (#13266)
1 parent e7a9b83 commit 8e31597

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

stdlib/@tests/stubtest_allowlists/common.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,6 @@ multiprocessing.dummy.RLock
394394

395395
# These multiprocessing proxy methods have *args, **kwargs signatures at runtime,
396396
# But have more precise (accurate) signatures in the stub
397-
multiprocessing.managers.BaseListProxy.__imul__
398397
multiprocessing.managers.BaseListProxy.__len__
399398
multiprocessing.managers.BaseListProxy.__reversed__
400399
multiprocessing.managers.BaseListProxy.reverse

stdlib/multiprocessing/managers.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ class BaseListProxy(BaseProxy, MutableSequence[_T]):
129129
def __setitem__(self, s: slice, o: Iterable[_T], /) -> None: ...
130130
def __mul__(self, n: SupportsIndex, /) -> list[_T]: ...
131131
def __rmul__(self, n: SupportsIndex, /) -> list[_T]: ...
132+
def __imul__(self, value: SupportsIndex, /) -> Self: ...
132133
def __reversed__(self) -> Iterator[_T]: ...
133134
def append(self, object: _T, /) -> None: ...
134135
def extend(self, iterable: Iterable[_T], /) -> None: ...

0 commit comments

Comments
 (0)