@@ -190,7 +190,7 @@ def __init__(
190190 if mapping is None :
191191 super ().__init__ ()
192192 elif isinstance (mapping , MultiDict ):
193- super ().__init__ ((k , vs [:]) for k , vs in mapping .lists ())
193+ super ().__init__ ((k , vs [:]) for k , vs in mapping .lists ()) # type: ignore[misc]
194194 elif isinstance (mapping , cabc .Mapping ):
195195 tmp = {}
196196 for key , value in mapping .items ():
@@ -708,7 +708,7 @@ def listvalues(self) -> cabc.Iterable[list[V]]:
708708 yield values
709709
710710 def add (self , key : K , value : V ) -> None :
711- dict .setdefault (self , key , []).append (_omd_bucket (self , key , value )) # type: ignore[arg-type,attr-defined ]
711+ dict .setdefault (self , key , []).append (_omd_bucket (self , key , value )) # type: ignore[misc ]
712712
713713 @t .overload
714714 def getlist (self , key : K ) -> list [V ]: ...
@@ -789,7 +789,7 @@ def popitem(self) -> tuple[K, V]:
789789 buckets : list [_omd_bucket [K , V ]]
790790
791791 try :
792- key , buckets = dict .popitem (self ) # type: ignore[arg-type,assignment ]
792+ key , buckets = dict .popitem (self ) # type: ignore[arg-type]
793793 except KeyError as e :
794794 raise exceptions .BadRequestKeyError (e .args [0 ]) from None
795795
@@ -803,7 +803,7 @@ def popitemlist(self) -> tuple[K, list[V]]:
803803 buckets : list [_omd_bucket [K , V ]]
804804
805805 try :
806- key , buckets = dict .popitem (self ) # type: ignore[arg-type,assignment ]
806+ key , buckets = dict .popitem (self ) # type: ignore[arg-type]
807807 except KeyError as e :
808808 raise exceptions .BadRequestKeyError (e .args [0 ]) from None
809809
0 commit comments