Replace the list of values with a single value.
(self, key, value)
| 1609 | self.dict.setdefault(key, []).append(value) |
| 1610 | |
| 1611 | def replace(self, key, value): |
| 1612 | ''' Replace the list of values with a single value. ''' |
| 1613 | self.dict[key] = [value] |
| 1614 | |
| 1615 | def getall(self, key): |
| 1616 | ''' Return a (possibly empty) list of values for a key. ''' |
no outgoing calls
no test coverage detected