@@ -82,6 +82,7 @@ class UserList(MutableSequence[_T]):
8282 def __le__ (self , other : list [_T ] | UserList [_T ]) -> bool : ...
8383 def __gt__ (self , other : list [_T ] | UserList [_T ]) -> bool : ...
8484 def __ge__ (self , other : list [_T ] | UserList [_T ]) -> bool : ...
85+ def __eq__ (self , other : object ) -> bool : ...
8586 def __contains__ (self , item : object ) -> bool : ...
8687 def __len__ (self ) -> int : ...
8788 @overload
@@ -125,6 +126,7 @@ class UserString(Sequence[UserString]):
125126 def __le__ (self , string : str | UserString ) -> bool : ...
126127 def __gt__ (self , string : str | UserString ) -> bool : ...
127128 def __ge__ (self , string : str | UserString ) -> bool : ...
129+ def __eq__ (self , string : object ) -> bool : ...
128130 def __contains__ (self , char : object ) -> bool : ...
129131 def __len__ (self ) -> int : ...
130132 def __getitem__ (self : Self , i : SupportsIndex | slice ) -> Self : ...
@@ -267,6 +269,9 @@ class Counter(dict[_T, int], Generic[_T]):
267269 def update (self , __m : Iterable [_T ] | Iterable [tuple [_T , int ]], ** kwargs : int ) -> None : ...
268270 @overload
269271 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 : ...
270275 def __add__ (self , other : Counter [_T ]) -> Counter [_T ]: ...
271276 def __sub__ (self , other : Counter [_T ]) -> Counter [_T ]: ...
272277 def __and__ (self , other : Counter [_T ]) -> Counter [_T ]: ...
@@ -362,6 +367,7 @@ class ChainMap(MutableMapping[_KT, _VT], Generic[_KT, _VT]):
362367 def __getitem__ (self , k : _KT ) -> _VT : ...
363368 def __iter__ (self ) -> Iterator [_KT ]: ...
364369 def __len__ (self ) -> int : ...
370+ def __contains__ (self , key : object ) -> bool : ...
365371 def __missing__ (self , key : _KT ) -> _VT : ... # undocumented
366372 def setdefault (self , key : _KT , default : _VT = ...) -> _VT : ...
367373 @overload
0 commit comments