@@ -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
@@ -326,8 +328,9 @@ class SyncManager(BaseManager):
326328 def dict (self , iterable : Iterable [list [str ]], / ) -> DictProxy [str , str ]: ...
327329 @overload
328330 def dict (self , iterable : Iterable [list [bytes ]], / ) -> DictProxy [bytes , bytes ]: ...
331+ # Overloads are copied from builtins.list.__init__
329332 @overload
330- def list (self , sequence : Sequence [_T ], / ) -> ListProxy [_T ]: ...
333+ def list (self , iterable : Iterable [_T ], / ) -> ListProxy [_T ]: ...
331334 @overload
332335 def list (self ) -> ListProxy [Any ]: ...
333336 if sys .version_info >= (3 , 14 ):
0 commit comments