Add a new value to the list of values for this key.
(self, key, value)
| 1875 | return default |
| 1876 | |
| 1877 | def append(self, key, value): |
| 1878 | ''' Add a new value to the list of values for this key. ''' |
| 1879 | self.dict.setdefault(key, []).append(value) |
| 1880 | |
| 1881 | def replace(self, key, value): |
| 1882 | ''' Replace the list of values with a single value. ''' |