equal
deleted
inserted
replaced
371 |
371 |
372 """ |
372 """ |
373 del self.cw_attr_cache[attr] |
373 del self.cw_attr_cache[attr] |
374 if hasattr(self, 'edited_attributes'): |
374 if hasattr(self, 'edited_attributes'): |
375 self.edited_attributes.remove(attr) |
375 self.edited_attributes.remove(attr) |
|
376 |
|
377 def clear(self): |
|
378 self.cw_attr_cache.clear() |
376 |
379 |
377 def get(self, key, default=None): |
380 def get(self, key, default=None): |
378 return self.cw_attr_cache.get(key, default) |
381 return self.cw_attr_cache.get(key, default) |
379 |
382 |
380 def setdefault(self, attr, default): |
383 def setdefault(self, attr, default): |