MCPcopy
hub / github.com/encode/starlette / poplist

Method poplist

starlette/datastructures.py:339–342  ·  starlette/datastructures.py::MultiDict.poplist
(self, key: Any)

Source from the content-addressed store, hash-verified

337 return key, value
338
339 def poplist(self, key: Any) -> list[Any]:
340 values = [v for k, v in self._list if k == key]
341 self.pop(key)
342 return values
343
344 def clear(self) -> None:
345 self._dict.clear()

Callers 1

test_multidictFunction · 0.95

Calls 1

popMethod · 0.95

Tested by 1

test_multidictFunction · 0.76