@@ -82,6 +82,7 @@ class UserList(MutableSequence[_T]):
82
82
def __le__ (self , other : list [_T ] | UserList [_T ]) -> bool : ...
83
83
def __gt__ (self , other : list [_T ] | UserList [_T ]) -> bool : ...
84
84
def __ge__ (self , other : list [_T ] | UserList [_T ]) -> bool : ...
85
+ def __eq__ (self , other : object ) -> bool : ...
85
86
def __contains__ (self , item : object ) -> bool : ...
86
87
def __len__ (self ) -> int : ...
87
88
@overload
@@ -125,6 +126,7 @@ class UserString(Sequence[UserString]):
125
126
def __le__ (self , string : str | UserString ) -> bool : ...
126
127
def __gt__ (self , string : str | UserString ) -> bool : ...
127
128
def __ge__ (self , string : str | UserString ) -> bool : ...
129
+ def __eq__ (self , string : object ) -> bool : ...
128
130
def __contains__ (self , char : object ) -> bool : ...
129
131
def __len__ (self ) -> int : ...
130
132
def __getitem__ (self : Self , i : SupportsIndex | slice ) -> Self : ...
@@ -267,6 +269,9 @@ class Counter(dict[_T, int], Generic[_T]):
267
269
def update (self , __m : Iterable [_T ] | Iterable [tuple [_T , int ]], ** kwargs : int ) -> None : ...
268
270
@overload
269
271
def update (self , __m : None = ..., ** kwargs : int ) -> None : ...
272
+ def __delitem__ (self , elem : object ) -> None : ...
273
+ def __eq__ (self , other : object ) -> bool : ...
274
+ def __ne__ (self , other : object ) -> bool : ...
270
275
def __add__ (self , other : Counter [_T ]) -> Counter [_T ]: ...
271
276
def __sub__ (self , other : Counter [_T ]) -> Counter [_T ]: ...
272
277
def __and__ (self , other : Counter [_T ]) -> Counter [_T ]: ...
@@ -362,6 +367,7 @@ class ChainMap(MutableMapping[_KT, _VT], Generic[_KT, _VT]):
362
367
def __getitem__ (self , k : _KT ) -> _VT : ...
363
368
def __iter__ (self ) -> Iterator [_KT ]: ...
364
369
def __len__ (self ) -> int : ...
370
+ def __contains__ (self , key : object ) -> bool : ...
365
371
def __missing__ (self , key : _KT ) -> _VT : ... # undocumented
366
372
def setdefault (self , key : _KT , default : _VT = ...) -> _VT : ...
367
373
@overload
0 commit comments