MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / pretty

Method pretty

example_code/item_049.py:160–161  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

158
159
160 def pretty(self):
161 return repr(self.value)
162
163
164print("Example 12")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected