MCPcopy Create free account
hub / github.com/datacamp/pythonwhat / defined_items

Method defined_items

pythonwhat/parsing.py:60–64  ·  view source on GitHub ↗

Return copy of instance, omitting entries that are EMPTY

(self)

Source from the content-addressed store, hash-verified

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
67class IndexedDict(Mapping):

Callers 1

__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected