Return a iterator of ``(key, values)`` pairs, where values is the list of all values associated with the key.
(self)
| 365 | yield key, values[0] |
| 366 | |
| 367 | def lists(self) -> cabc.Iterable[tuple[K, list[V]]]: |
| 368 | """Return a iterator of ``(key, values)`` pairs, where values is the list |
| 369 | of all values associated with the key.""" |
| 370 | values: list[V] |
| 371 | |
| 372 | for key, values in super().items(): # type: ignore[assignment] |
| 373 | yield key, list(values) |
| 374 | |
| 375 | def values(self) -> cabc.Iterable[V]: # type: ignore[override] |
| 376 | """Returns an iterator of the first value on every key's value list.""" |