MCPcopy
hub / github.com/pallets/werkzeug / lists

Method lists

src/werkzeug/datastructures/structures.py:697–704  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

695 ptr = ptr.next
696
697 def lists(self) -> cabc.Iterable[tuple[K, list[V]]]:
698 returned_keys = set()
699 ptr = self._first_bucket
700 while ptr is not None:
701 if ptr.key not in returned_keys:
702 yield ptr.key, self.getlist(ptr.key)
703 returned_keys.add(ptr.key)
704 ptr = ptr.next
705
706 def listvalues(self) -> cabc.Iterable[list[V]]:
707 for _key, values in self.lists():

Callers 2

__eq__Method · 0.95
listvaluesMethod · 0.95

Calls 2

getlistMethod · 0.95
addMethod · 0.45

Tested by

no test coverage detected