Yield (key, value) pairs, where value is the last item in the list associated with the key.
(self)
| 177 | self.setlistdefault(key).append(value) |
| 178 | |
| 179 | def items(self): |
| 180 | """ |
| 181 | Yield (key, value) pairs, where value is the last item in the list |
| 182 | associated with the key. |
| 183 | """ |
| 184 | for key in self: |
| 185 | yield key, self[key] |
| 186 | |
| 187 | def lists(self): |
| 188 | """Yield (key, list) pairs.""" |
no outgoing calls