Return copy of instance, omitting entries that are EMPTY
(self)
| 58 | return "".join(self._od.keys()) |
| 59 | |
| 60 | def defined_items(self): |
| 61 | """Return copy of instance, omitting entries that are EMPTY""" |
| 62 | return self.__class__( |
| 63 | [(k, v) for k, v in self.items() if v is not self.EMPTY], is_empty=False |
| 64 | ) |
| 65 | |
| 66 | |
| 67 | class IndexedDict(Mapping): |