Skip to content

Commit 914bb31

Browse files
committed
fixes for multiprocessing.managers.BaseListProxy.copy
1 parent 3d28594 commit 914bb31

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

stdlib/@tests/stubtest_allowlists/py314.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# ====================================================================
44

55
multiprocessing.managers.BaseListProxy.clear
6+
# inspect.signature gives the wrong signature
67
multiprocessing.managers.BaseListProxy.copy
78
multiprocessing.managers.DictProxy.__ior__
89
multiprocessing.managers._BaseDictProxy.__ior__

stdlib/multiprocessing/managers.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,8 @@ class BaseListProxy(BaseProxy, MutableSequence[_T]):
192192
def count(self, value: _T, /) -> int: ...
193193
def insert(self, index: SupportsIndex, object: _T, /) -> None: ...
194194
def remove(self, value: _T, /) -> None: ...
195+
if sys.version_info >= (3, 14):
196+
def copy(self) -> list[_T]: ...
195197
# Use BaseListProxy[SupportsRichComparisonT] for the first overload rather than [SupportsRichComparison]
196198
# to work around invariance
197199
@overload

0 commit comments

Comments
 (0)