MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / __repr__

Method __repr__

17-it-generator/isis2json/subfield.py:124–125  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

122 return dict(self.value)[key]
123
124 def __repr__(self):
125 return "CompositeField(%s)" % str(self.items())
126
127 def items(self):
128 return self.value

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.95

Tested by

no test coverage detected