@@ -712,28 +712,28 @@ class slice(object):
712
712
def indices (self , __len : SupportsIndex ) -> tuple [int , int , int ]: ...
713
713
714
714
class tuple (Sequence [_T_co ], Generic [_T_co ]):
715
- def __new__ (cls : Type [_T ], iterable : Iterable [_T_co ] = ...) -> _T : ...
715
+ def __new__ (cls : Type [_T ], __iterable : Iterable [_T_co ] = ...) -> _T : ...
716
716
def __len__ (self ) -> int : ...
717
- def __contains__ (self , x : object ) -> bool : ...
717
+ def __contains__ (self , __x : object ) -> bool : ...
718
718
@overload
719
- def __getitem__ (self , x : int ) -> _T_co : ...
719
+ def __getitem__ (self , __x : int ) -> _T_co : ...
720
720
@overload
721
- def __getitem__ (self , x : slice ) -> Tuple [_T_co , ...]: ...
721
+ def __getitem__ (self , __x : slice ) -> Tuple [_T_co , ...]: ...
722
722
def __iter__ (self ) -> Iterator [_T_co ]: ...
723
- def __lt__ (self , x : Tuple [_T_co , ...]) -> bool : ...
724
- def __le__ (self , x : Tuple [_T_co , ...]) -> bool : ...
725
- def __gt__ (self , x : Tuple [_T_co , ...]) -> bool : ...
726
- def __ge__ (self , x : Tuple [_T_co , ...]) -> bool : ...
723
+ def __lt__ (self , __x : Tuple [_T_co , ...]) -> bool : ...
724
+ def __le__ (self , __x : Tuple [_T_co , ...]) -> bool : ...
725
+ def __gt__ (self , __x : Tuple [_T_co , ...]) -> bool : ...
726
+ def __ge__ (self , __x : Tuple [_T_co , ...]) -> bool : ...
727
727
@overload
728
- def __add__ (self , x : Tuple [_T_co , ...]) -> Tuple [_T_co , ...]: ...
728
+ def __add__ (self , __x : Tuple [_T_co , ...]) -> Tuple [_T_co , ...]: ...
729
729
@overload
730
- def __add__ (self , x : Tuple [_T , ...]) -> Tuple [_T_co | _T , ...]: ...
731
- def __mul__ (self , n : SupportsIndex ) -> Tuple [_T_co , ...]: ...
732
- def __rmul__ (self , n : SupportsIndex ) -> Tuple [_T_co , ...]: ...
730
+ def __add__ (self , __x : Tuple [_T , ...]) -> Tuple [_T_co | _T , ...]: ...
731
+ def __mul__ (self , __n : SupportsIndex ) -> Tuple [_T_co , ...]: ...
732
+ def __rmul__ (self , __n : SupportsIndex ) -> Tuple [_T_co , ...]: ...
733
733
def count (self , __value : Any ) -> int : ...
734
734
def index (self , __value : Any , __start : SupportsIndex = ..., __stop : SupportsIndex = ...) -> int : ...
735
735
if sys .version_info >= (3 , 9 ):
736
- def __class_getitem__ (cls , item : Any ) -> GenericAlias : ...
736
+ def __class_getitem__ (cls , __item : Any ) -> GenericAlias : ...
737
737
738
738
class function :
739
739
# TODO not defined in builtins!
@@ -747,7 +747,7 @@ class list(MutableSequence[_T], Generic[_T]):
747
747
@overload
748
748
def __init__ (self ) -> None : ...
749
749
@overload
750
- def __init__ (self , iterable : Iterable [_T ]) -> None : ...
750
+ def __init__ (self , __iterable : Iterable [_T ]) -> None : ...
751
751
def clear (self ) -> None : ...
752
752
def copy (self ) -> list [_T ]: ...
753
753
def append (self , __object : _T ) -> None : ...
@@ -767,27 +767,27 @@ class list(MutableSequence[_T], Generic[_T]):
767
767
def __str__ (self ) -> str : ...
768
768
__hash__ : None # type: ignore
769
769
@overload
770
- def __getitem__ (self , i : SupportsIndex ) -> _T : ...
770
+ def __getitem__ (self , __i : SupportsIndex ) -> _T : ...
771
771
@overload
772
- def __getitem__ (self , s : slice ) -> list [_T ]: ...
772
+ def __getitem__ (self , __s : slice ) -> list [_T ]: ...
773
773
@overload
774
- def __setitem__ (self , i : SupportsIndex , o : _T ) -> None : ...
774
+ def __setitem__ (self , __i : SupportsIndex , __o : _T ) -> None : ...
775
775
@overload
776
- def __setitem__ (self , s : slice , o : Iterable [_T ]) -> None : ...
777
- def __delitem__ (self , i : SupportsIndex | slice ) -> None : ...
778
- def __add__ (self , x : list [_T ]) -> list [_T ]: ...
779
- def __iadd__ (self : _S , x : Iterable [_T ]) -> _S : ...
780
- def __mul__ (self , n : SupportsIndex ) -> list [_T ]: ...
781
- def __rmul__ (self , n : SupportsIndex ) -> list [_T ]: ...
782
- def __imul__ (self : _S , n : SupportsIndex ) -> _S : ...
783
- def __contains__ (self , o : object ) -> bool : ...
776
+ def __setitem__ (self , __s : slice , __o : Iterable [_T ]) -> None : ...
777
+ def __delitem__ (self , __i : SupportsIndex | slice ) -> None : ...
778
+ def __add__ (self , __x : list [_T ]) -> list [_T ]: ...
779
+ def __iadd__ (self : _S , __x : Iterable [_T ]) -> _S : ...
780
+ def __mul__ (self , __n : SupportsIndex ) -> list [_T ]: ...
781
+ def __rmul__ (self , __n : SupportsIndex ) -> list [_T ]: ...
782
+ def __imul__ (self : _S , __n : SupportsIndex ) -> _S : ...
783
+ def __contains__ (self , __o : object ) -> bool : ...
784
784
def __reversed__ (self ) -> Iterator [_T ]: ...
785
- def __gt__ (self , x : list [_T ]) -> bool : ...
786
- def __ge__ (self , x : list [_T ]) -> bool : ...
787
- def __lt__ (self , x : list [_T ]) -> bool : ...
788
- def __le__ (self , x : list [_T ]) -> bool : ...
785
+ def __gt__ (self , __x : list [_T ]) -> bool : ...
786
+ def __ge__ (self , __x : list [_T ]) -> bool : ...
787
+ def __lt__ (self , __x : list [_T ]) -> bool : ...
788
+ def __le__ (self , __x : list [_T ]) -> bool : ...
789
789
if sys .version_info >= (3 , 9 ):
790
- def __class_getitem__ (cls , item : Any ) -> GenericAlias : ...
790
+ def __class_getitem__ (cls , __item : Any ) -> GenericAlias : ...
791
791
792
792
class _dict_keys (KeysView [_KT_co ], Generic [_KT_co , _VT_co ]):
793
793
if sys .version_info >= (3 , 10 ):
0 commit comments